body{
    font-family: Arial, sans-serif;
    margin: 15px;
    font-size: 18px;
    background: #ffffff;
    color: #333333;
}

h1{
    margin-top: 0;
    margin-bottom: 10px;
}

h2{
    font-size:16px;
    margin:4px 0;
}

a{
    color: #1976d2;
}

.btn{
    display: block;
    background: #1976d2;
    color: white;
    text-decoration: none;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
}

.btn:hover{
    background: #1565c0;
}

label{
    display: block;
    margin-top: 12px;
}

input,
select,
button{
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    font-size: 18px;
    margin-top: 5px;
}

input[type="radio"]{
    width:auto !important;
    display:inline-block;
    margin-right:8px;
    vertical-align:middle;
}

button{
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover{
    background: #1565c0;
}

table{
    width: 100%;
    border-collapse: collapse;
}

th{
    background: #f5f5f5;
}

th,
td{
    border: 1px solid #cccccc;
    padding: 10px;
}

.table-wrapper{
    overflow-x: auto;
}

.center{
    text-align: center;
}

.right{
    text-align: right;
}

.success{
    background:#d4edda;
    border:1px solid #28a745;
    padding:10px;
    border-radius:5px;
    margin-bottom:15px;
    color:#155724;
    font-weight:bold;
    margin-right:340px;
}

.info{
    padding: 10px;
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 5px;
    margin-bottom: 20px;
}

.warning{
    padding: 10px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 5px;
    margin-bottom: 20px;
}

.box{
    border: 1px solid #cccccc;
    padding: 20px;
    margin-bottom: 25px;
    max-width: 600px;
}

.zahlungsarten{
    margin-top:10px;
}

.radio-option{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
    width:auto;
}

.radio-option input{
    width:auto;
    margin:0;
}

.radio-option span{
    display:inline;
}

.warenkorb-zeile button
{
    margin-left:3px;
    width:22px;
    min-width:22px;
    height:22px;
    padding:0;
    font-size:12px;
}

.warenkorb-zeile{
    font-size:16px;
    line-height:1.0;
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:6px;
}
.storno{
    background:#dc3545;
    color:white;
    border:none;
}

.wk-name{
    flex:1;
    white-space:nowrap;
}

.wk-preis{
    width:60px;
    text-align:right;
    font-weight:bold;
}

.wk-buttons{
    display:flex;
    gap:3px;
}


.storno:hover{
    background:#c82333;
}

.success{
    background:#d4edda;
    border:1px solid #28a745;
    color:#155724;
    padding:10px;
    border-radius:8px;
    margin-bottom:15px;
    font-weight:bold;
}

.zweispalten{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.dropdown-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    align-items:start;
}

.dropdown-row .artikelgruppe{
    margin-top:0;
}

.button-grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fill,minmax(75px,1fr));
    gap:4px;
    max-width:calc(100% - 320px);
    }
    
.artikel-button{
    width:100%;
    min-height:16px;
    padding:1px 2px;
    font-size:2px;
    font-weight:normal;
    line-height:0,9;
    margin:0px;
}

#warenkorbInhalt{
    max-height:500px;
    overflow-y:auto;
}

.gesamt{
    margin-top:15px;
    font-size:20px;
    font-weight:bold;
}

#gesamtbetrag{
    color:#1976d2;
}

#mitgliedHinweis{
    display:flex;
    align-items:center;
    height:40px;
    padding:0 10px;
    background:#fff3cd;
    border:1px solid #ffc107;
    border-radius:6px;
    font-weight:bold;
    font-size:14px;
}

#mitgliedSuche{
    height:40px;
    padding:6px 10px;
}

.kopfbereich{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    width:100%;
    box-sizing:border-box;
}

.kopf-links{
    display:flex;
    align-items:center;
    gap:10px;
}

.kopf-rechts{
    position:fixed;
    top:80px;
    right:15px;
    width:320px;
}

.artikelgruppe{
    margin-top:5px;
}

.statusbereich{
    position:absolute;
    top:15px;
    right:20px;
    display:flex;
    gap:12px;
    align-items:center;
    font-size:14px;
}

#trefferListe{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    max-heigh:300px;
    overflow-y:auto;
    background:#fff;
    border:1px solid #cccccc;
    border-radius:8px;
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
    z-index:9999;
}

#trefferListe:empty{
    display:none;
}

.suchbereich{
    position:relative;
    width:100%;
    max-width:600px;
}

.button-grid{
    max-width:calc(100% - 340px);
}

.kasse-block{
    margin-top:10px;
}

.kasse-block input{
    width:120px;
}

.zahlbetrag-box{
    margin-top:10px;
    padding:10px;
    background:#f0f0f0;
    border-radius:6px;
    font-size:22px;
    font-weight:bold;
}

.zahlbetrag{
    color:#1976d2;
}

@media (max-width: 768px)
{
    body{
        margin: 10px;
        font-size: 16px;
    }

    h1{
        font-size: 24px;
    }

    .btn{
        font-size: 20px;
        padding: 16px;
    }

    input,
    select,
    button{
        font-size: 18px;
    }

    table{
        font-size: 14px;
    }

    th,
    td{
        padding: 8px;
    }

.radio-option{
    display:flex !important;
    align-items:center;
    gap:10px;
    margin:0;
}

.radio-option input{
    width:auto !important;
    margin:0;
    padding:0;
}

.radio-option span{
    margin:0;
}

.zahlungsarten{
    display:flex;
    flex-direction:column;
    gap:10px;
}

label.radio-option{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:auto !important;
    margin:0 !important;
}

label.radio-option input[type="radio"]{
    width:auto !important;
    flex:none !important;
    margin:0 10px 0 0 !important;
    padding:0 !important;
}

label.radio-option span{
    display:inline-block !important;
}

}