/* Handy Ansicht */
@media (max-width: 550px){
    .max-body {
        max-width: 30vw;
        width: 50vw;
        align-self: center;
    }

    .mass{
        text-align: center;
    }

    .drink_buttons {
        width: 7vh;
        height: 7vh;
        min-width: 50px;
        min-height: 50px;
        margin: 0vh;
    }
    .drink_flex {
        display: flex;
        justify-content: center;
        margin: 0vh;
    }

    .input_2 {
        width: 30px;
    }

    .hidden-row {
        display: none;
    }

    input[type="checkbox"] {
        transition: opacity 0.2s ease;
    }

    input[type="checkbox"]:active {
        opacity: 0.6;
    }

    .header {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .expandable-header {
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        color: #ffffff;
        font-size: 15pt;
    }

    .berechnen {
        display: flex;
        justify-content: center;
    }

    .berechnen_2 {
        padding: 2.5vh !important;
        font-size: 20pt;
        font-weight: 550;
        padding: 0.5vh;
        display: flex;
        justify-content: center;
    }

    .auswertung {
        display: flex;
        justify-content: center;
    }

    .time {
        width: 180px;
        color: rgb(128, 128, 128);
        background-color: rgb(37, 37, 37);
        text-align: center;
    }

    .col_left_auswertung {
        width: 10%;
    }

    .col_middle_auswertung {
        width: 35%;
    }

    .col_left {
        width: 50%;
        text-align: left;
    }

    .col_right {
        text-align: right;
    }

    .td-align-center {
        text-align: center;
    }

    .rounded-table {
        border-spacing: 0;         /* Kein Abstand zwischen Zellen */
        border-radius: 12px;       /* Runde Ecken */
        overflow: hidden;          /* Damit border-radius auch bei Zellen funktioniert */  
        box-shadow: 0 2px 8px rgba(0,0,0,0.5); /* Optional: leichte Schatten für Tiefe */
    }

    .rounded-table th,
    .rounded-table td {
        padding: 16px;             /* Innenabstand für bessere Lesbarkeit */
        background-color: rgb(226, 0, 116);   /* Hintergrund (wichtig, sonst sieht es „durch“ aus) */
    }

    .rounded-table th {
        background-color: rgb(100, 100, 100); /* Leicht grauer Hintergrund für Überschriften */
        font-weight: 600;
    }

    .rounded-table td {
        border: none;              /* Keine inneren Linien! */
    }

    /* Äußerer Rand */
    .rounded-table {
        border: none;    /* Äußerer Rand (z. B. hellgrau) */
    }

    .visible-device {
        border: none;
        box-shadow: none;
        width: 100vw;
    }
}

/* Pc Ansicht */
@media (min-width: 551px){
    .max-body {
        max-width: 30vw;
        width: 50vw;
        align-self: center;
    }

    .mass{
        text-align: center;
    }

        .drink_buttons {
        width: 7vh;
        height: 7vh;
        min-width: 60px;
        min-height: 60px;
        max-width: 85px;
        max-height: 85px;
        margin: 0vh;
    }
    .drink_flex {
        display: flex;
        justify-content: center;
        margin: 0vh;
    }

    .input_2 {
        width: 30px;
    }

    .hidden-row {
        display: none;
    }

    input[type="checkbox"] {
        transition: opacity 0.2s ease;
    }

    input[type="checkbox"]:active {
        opacity: 0.6;
    }

    .header {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .expandable-header {
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        color: #ffffff;
        font-size: 24pt;
    }

    .berechnen {
        display: flex;
        justify-content: center;
    }

    .berechnen_2 {
        padding: 2.5vh !important;
        font-size: 30pt;
        font-weight: 550;
        padding: 0.5vh;
        display: flex;
        justify-content: center;
    }

    .auswertung {
        display: flex;
        justify-content: center;
    }

    .time {
        width: 180px;
        color: rgb(128, 128, 128);
        background-color: rgb(37, 37, 37);
        text-align: center;
    }

    .col_left_auswertung {
        width: 10%;
    }

    .col_middle_auswertung {
        width: 35%;
    }

    .col_left {
        width: 50%;
        text-align: left;
    }

    .col_right {
        text-align: right;
    }

    .td-align-center {
        text-align: center;
    }

    .rounded-table {
        border-collapse: collapse; /* Wichtig: keine inneren Doppelränder */
        border-spacing: 0;         /* Kein Abstand zwischen Zellen */
        border-radius: 12px;       /* Runde Ecken */
        overflow: hidden;          /* Damit border-radius auch bei Zellen funktioniert */  
        box-shadow: 0 2px 8px rgba(0,0,0,0.5); /* Optional: leichte Schatten für Tiefe */
    }

    .rounded-table th,
    .rounded-table td {
        padding: 16px;             /* Innenabstand für bessere Lesbarkeit */
        background-color: rgb(226, 0, 116);   /* Hintergrund (wichtig, sonst sieht es „durch“ aus) */
    }

    .rounded-table th {
        background-color: rgb(100, 100, 100);; /* Leicht grauer Hintergrund für Überschriften */
        font-weight: 600;
    }

    .rounded-table td {
        border: none;              /* Keine inneren Linien! */
    }

    /* Äußerer Rand */
    .rounded-table {
        border: none;    /* Äußerer Rand (z. B. hellgrau) */
    }

    .visible-device {
        width: 25vw;
    }
}