/* ============================
   GLOBAL LAYOUT
============================ */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    
    margin-left: auto;   /* Automatische Marge links zentriert das Element */
    margin-right: auto;  /* Automatische Marge rechts zentriert das Element */
        
    
    padding: 0;
    color: #003366;
    /* background: #f4f4f4; */
    background: radial-gradient(circle at top,#ffffff 0%,#f7f9fc 40%,#f4f4f4 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                 Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 


}

body > * {
    width: 100%;
}


main {
flex:1;
    max-width: 1200px;
    margin: 5px auto;
    padding: 20px;
}



h1, h2 {
    text-align: center;
    margin-bottom: 20px;
}
.euro {
    margin-right: 4px;
    font-variant-numeric: tabular-nums;
    opacity: 0.8;
}

/* ============================
   Index Seite
============================ */
.zeiten-table {
    border-collapse: collapse;
}

.zeiten-table td {
    padding: 3px 12px;
}


/* ============================
   WRAPPER & INFO-BEREICHE
============================ */
.product-container {
max-width: 1160px;
    width: 100%;
    margin: 30px auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
     border: 1px solid rgba(255, 255, 255, 0.45);
}

.admin-section {
    max-width: 1200px;
    width: 100%;
    margin: 30px auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.45);
}



.page-wrapper,
.product-wrapper {
    max-width: 1300px;
    margin: 20px auto;
    padding: 10px;
}

.login-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wrapper-middle {
    text-align: center;
    display: flex;
        align-items: center;
}
.button-row-inline {
    display: flex;
    flex-direction: row;
    gap: 5px;              /* Abstand zwischen Buttons */
    justify-content: center; /* Buttons mittig */
    margin-top: 15px;
}


.info-box {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.center-title {
    text-align: center;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.info-value {
    font-weight: bold;
}

.restzeit {
    color: #880000;
}

/* User Info Box */
.user-info-box {
    width: 100%;
    background: #fff;
    padding: 5px 15px 15px 15px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
    margin: 0 auto;
}

/* kompakte Tabelle */
.user-info-3col,
.user-products-4col {
    margin-top: -15px;
    width: 100%;
    border-collapse: separate; /* WICHTIG: Rundungen aktivieren */
    border-spacing: 0;         /* WICHTIG: keine Lücken */
    table-layout: auto;
    font-size: 12px;
}

/* Header */
.user-info-3col th,
.user-products-4col th {
    background: #5dd65d;
    padding: 3px 3px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid #e6e6e6;
}

/* Desktop Spaltenbreiten */
@media (min-width: 768px) {

.user-info-3col th:nth-child(1),
.user-info-3col td:nth-child(1) { width: 20%; padding-left: 20px; }

.user-info-3col th:nth-child(2),
.user-info-3col td:nth-child(2) { width: 35%; }

.user-info-3col th:nth-child(3),
.user-info-3col td:nth-child(3) { width: 45%; }

/* ⭐ Rundungen */
.user-info-3col thead th:first-child {
    border-top-left-radius: 8px;
}

.user-info-3col thead th:last-child {
    border-top-right-radius: 8px;
}
.user-info-3col td {
    border-bottom: 2px solid #e6e6e6;
}
.user-info-3col td:first-child {
    border-bottom-left-radius: 8px;
    border-left: 2px solid #e6e6e6;
}
.user-info-3col td:last-child {
    border-bottom-right-radius: 8px;
    border-right: 2px solid #e6e6e6;
}

.user-products-4col th:nth-child(1),
.user-products-4col td:nth-child(1) { width: 10%; padding-left: 10px; }

.user-products-4col th:nth-child(2),
.user-products-4col td:nth-child(2) { width: 45%; }

.user-products-4col th:nth-child(3),
.user-products-4col td:nth-child(3) { width: 20%;  text-align: right; font-variant-numeric: tabular-nums; }

.user-products-4col td:nth-child(3) {font-feature-settings: "tnum", "lnum";}

.user-products-4col th:nth-child(4),
.user-products-4col td:nth-child(4) { width: 25%; text-align:right; font-variant-numeric: tabular-nums; 
                                  font-feature-settings: "tnum", "lnum"; padding-right:15px; }

/* ⭐ Rundungen */
.user-products-4col  th:first-child {
    border-top-left-radius: 8px;
}

.user-products-4col  th:last-child {
    border-top-right-radius: 8px;
}
.user-products-4col tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.user-products-4col tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.user-products-4col td {
    border-bottom: 2px solid #e6e6e6;
}
.user-products-4col td:first-child {
  
    border-left: 2px solid #e6e6e6;
}
.user-products-4col td:last-child {
   
    border-right: 2px solid #e6e6e6;
}


}



/* ⭐ MOBILE: Spalten untereinander + Überschriften einbetten */
@media (max-width: 768px) {

    .user-info-box {
        width: 100% !important;
        padding: 15px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
    }

    /* Tabelle wird zu Blöcken */
    .user-info-3col,
    .user-info-3col tbody,
    .user-info-3col tr,
    .user-info-3col th,
    .user-info-3col td {
        display: block;
        width: 100%;
    }

    /* Header ausblenden */
    .user-info-3col thead {
        display: none;
    }

    /* Jede Tabellenzeile wird zu einer Karte */
    .user-info-3col tr {
        background: rgba(60, 180, 60, 0.35);
        margin-bottom: 12px;
        padding: 12px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    /* Überschrift einbetten */
    .user-info-3col td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #003366;
        display: block;
        margin-bottom: 4px;
        white-space: nowrap;
    }

    .user-info-3col td {
        padding: 3px !important;
        border-bottom: none;
    }
}





/* ============================
   FORMULARE
============================ */
/*
.product-form,
.registration-form,
.zeit-form {
    background: #fff; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
    margin: 0 auto;
    max-width: 600px; /* statt width: 600px */
    margin: 0 auto;     /* zentriert das Formular */
}
*/




.container {
    max-width: 800px;
}



.registration-form {
    width: 350px;
 align-items: center;
text-align:center;
}

form input,
form select,
form textarea {
    width: 100%;
   
    padding: 0.5em;
}



/* ============================
   Code-Eingabe in Kästchen
============================ */
.code-input {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.code-box {
    width: 45px;
    height: 55px;
    font-size: 28px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 8px;
}

.code-box:focus {
    border-color: #003366;
    outline: none;
}

.pw-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.pw-wrapper input {
    width: 100%;
    padding-right: 45px;
}

.pw-toggle {
    position: absolute;
    right: 3px;
    top: 40%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: #444;
}

.pw-toggle:hover {
    color: #003366;
}





.product-grid {
    display: grid;
    justify-items: center;
    gap: 24px;
    padding: 10px;
}
 .product-card {
display:flex;
flex-direction: column;
width: 100%;
position:relative;
background: rgba(255, 255, 255, 0.28); /* etwas weniger Weiß für Inter */
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.55); /* stärkerer Lichtreflex */
    box-shadow: 0 10px 40px rgba(0,0,0,0.18);     /* Apple-typischer Tiefenlook */
}

.product-id-badge {
    background: #003366;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    padding: 5px 5px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ⭐ Mobil: kompakt, 2 Spalten (Bild links, Text rechts) */

@media (max-width: 768px) {

    .product-card {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 10px;
        padding: 10px;
    }

.product-id-badge {
        grid-column: 1 / 3;
    }

    /* Bild bleibt mittig über alle Zeilen */
    .product-card img {
        grid-column: 1;
        grid-row: 2 / span 4;
        align-self: center;
        width: 90px;
        height: 90px;
        object-fit: contain;
    }

    /* ⭐ Kleinere Schriftgrößen */
    .product-title {
        grid-column: 2;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 4px;
        overflow: hidden;
    }

    .product-description {
        grid-column: 2;
        font-size: 12px;
        overflow: hidden;
        color: #555;
    }

.product-description:empty {
    display: none;
    }

    .product-price {
        grid-column: 2;
        font-size: 13px;
        font-weight: bold;
        margin-top: 4px;
        color: #2a7;
    }
    .product-minprice {
        grid-column: 2;
        font-size: 10px;
        margin-left: 5px;
        margin-top: 4px;
        color: #2a7;
    }
    .product-minprice2 {
        grid-column: 2;
        font-size: 10px;
        margin-top: -8px;
        color: #2a7;
    }

    .product-category,
    .product-user {
        grid-column: 2;
        font-size: 12px;
        color: #555;
    }

    /* Buttons kompakter */
    .card-actions_admin,
    .card-actions {
        grid-column: span 2;
        margin-top: 8px;
        display: flex;
        gap: 10px;
    }

    .action-icon-cards {
        width: 20px;
        height: 20px;
    }
}






/* ⭐ Desktop: groß, 3–4 Spalten */
@media (min-width: 769px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .product-card {
        gap: 5px;
        max-width: 280px;
        padding: 22px;
           }


.product-card img {
display:flex;
align-items:center;
    width: 60%;
    height: 50px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
}

.product-title {
    font-size: 0.9em;
    font-weight: bold;
   overflow: hidden;
}

.product-description {
    color: #555;
    font-size: 0.7em;
    min-height: 30px;
    max-height: 55px;
    overflow: hidden;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #2a7;
}
    .product-minprice {
        font-size: 12px;
        margin-left: 5px;
        color: #2a7;
    }
    .product-minprice2 {
        font-size: 12px;
        color: #2a7;
    }
.product-category {
    font-size: 0.8em;
    color: #555;
}
.product-user {
    font-size: 0.8em;
    color: #555;
    margin-bottom: 10px;
}


}
/* ============================
   ACTIONS
============================ */


.card-actions {

    display: flex;
    gap: 40px;
    justify-content: center;
align-items: center; /* WICHTIG: vertikal zentrieren */
    margin-top: 14px;
}

.card-actions_admin {
    display: flex;
    justify-content: center;
    align-items: center; /* WICHTIG: vertikal zentrieren */
    margin-top: auto;

}

.card-actions_admin {
    display: flex;
    gap: 5px;
}

/* Grundstil für alle Buttons */
.card-actions_admin a, 
.card-actions_admin .cart-btn-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    text-decoration: none;
    font-family: system-ui, -apple-system;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(200, 200, 200, 0.4);
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-around;
}
.card-actions_admin .cart-btn-inline {
    width: 80%;
    background: linear-gradient(135deg, #5dd65d, #3cb43c); /* Apple-Grün */
    color: #fff;
    height: 40px;
    white-space: nowrap;
}

.card-actions_admin a {
color: #000;
    background: rgba(255, 255, 255, 0.35);
}

/* Hover Effekt */
.card-actions_admin a:hover,
.card-actions_admin .cart-btn-inline:hover {
    /* background: rgba(255, 255, 255, 0.65); */
    border-color: rgba(180, 180, 180, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #000;
}

/* Disabled Warenkorb */
.cart-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.action-icon-cards {
    width: 25px !important;
    height: 25px !important;
}

.disabled-icon {
    cursor: not-allowed;
    opacity: 0.5;

}

.cart-btn-disabled {
    width: 90%;
    height: 40px;
    background: linear-gradient(135deg, #5dd65d, #3cb43c); /* Apple-Grün */
    color: #fff;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    white-space: nowrap;
}

.card-actions {
    display: flex;
    gap: 12px;
}

.card-actions {
    display: flex;
    gap: 12px;
}

/* Apple Glass Button */
.card-actions {
    display: flex;
    gap: 10px;
}

/* Apple Glass Button */
.glass-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-family: system-ui, -apple-system;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(200, 200, 200, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

/* kompakter Modus */
.glass-btn.compact {
     height: 34px;
    justify-content: center;
}

/* Apple Glass Hover */
.glass-btn:hover {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(180, 180, 180, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}




/* ============================
   SOLD BADGES
============================ */
.sold-card {
    opacity: 0.5;
    pointer-events: none;
}

.sold-badge {
    position: absolute;
    top: 10px;
    right: -10px;
    background: #ff0000;
    color: #fff;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 900;
    transform: rotate(15deg);
    border-radius: 4px;
    z-index: 20;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* ============================
   BUTTONS & UI ELEMENTE
============================ */
button {
    
    padding: 0.7em 1.5em;
    border: none;
    cursor: pointer;
display: block;    
    margin: 0 auto; 
}

button:hover {
color: #000;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff, #eaeaea);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.std-btn {
        background: linear-gradient(135deg, #f7f7f7, #e5e5e5); /* Apple-Grau */
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}


.small-btn {
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
}

.back-btn, .print-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background: #5dd65d;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
}

.save-btn {
background: #003366;
    color: white;
}
.cancel-btn {
background: white;

}

.pill-btn,
.pill-btn-big {
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.pill-btn-big {
    width: 260px;
    height: 52px;
    font-size: 12px;
    font-weight: 600;
}

.pill-btn {
    width: 150px;
    height: 50px;
    font-size: 12px;
    font-weight: 600;
}

.add-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 240px;
    height: 50px;
    padding: 0 20px;
 background: linear-gradient(135deg, #5dd65d, #3cb43c);
    box-shadow: 0 4px 12px rgba(60,180,60,0.25);
    transition: all 0.3s ease;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 20px;
   
}

.add-user-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #6ae86a, #3cb43c);
    box-shadow: 0 6px 18px rgba(60,180,60,0.35);
}


.add-user-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}


/* Wrapper Bild-upload */
.upload-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 20px 0;
}

/* Moderner Upload-Button */
.upload-label {
    display: inline-block;
    text-align: center;
    color: #fff;
    padding: 12px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    user-select: none;
    background: linear-gradient(135deg, #5dd65d, #3cb43c);
    box-shadow: 0 4px 12px rgba(60,180,60,0.25);
    transition: all 0.3s ease;
}

.upload-label:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #6ae86a, #3cb43c);
    box-shadow: 0 6px 18px rgba(60,180,60,0.35);
}

.upload-label:active {
    transform: translateY(0px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

/* Dateiname kompakt */
.file-name {
    font-size: 14px;
    color: #444;
    margin-left: 10px;
}

/* Input verstecken */
#image {
    display: none;
}


input[type="file"]#image {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}


/* 🔥 WICHTIG: Versteckt den echten Datei-Button */
#image {
    display: none !important;
}

#preview {
    display: none;
    /* max-width: 120px;   /* Vorschau-Breite */ */
    /* max-height: 120px;  /* Vorschau-Höhe */ */
    /* border-radius: 8px; */
    /* margin-top: 10px; */
    object-fit: cover;  /* Zuschneiden statt verzerren */
}

#preview {
    border: 1px solid #ddd;
    padding: 4px;
    background: #fafafa;
}





.button-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* Buttons linksbündig */
    align-items: center;
    gap: 20px; /* Abstand zwischen Buttons */
    margin-top: 0.6em;
}

/* ============================
   TOGGLE SWITCH
============================ */
.toggle-switch {
    position: relative;
    width: 55px;
    height: 28px;
    display: inline-block;
}

.toggle-switch input {
    display: none;
}

.toggle-slider {
    position: absolute;
    
    cursor: pointer;
    top: 0; left: -10px;
    right: 0; bottom: 0;
    background-color: #ccc;
    border-radius: 28px;
    transition: .3s;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .3s;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #5dd65d;  /*#2e7d32; alte */
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}


/* Footer */
/* Grunddesign */





.footer-nav {
    background-color: #333;
font-size: 14px;
    color: white;
    padding: 15px 20px;
    margin-top: 40px;
    font-size: 14px;
}

/* Desktop: links + rechts */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
}

/* footer-left immer untereinander */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* footer-right nebeneinander */
.footer-right {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

/* Mobil: alles untereinander mit Abstand */
@media (max-width: 600px) {

    .footer-content {
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Abstand zwischen left und links */
    }

    .footer-right {
        flex-direction: column;
        gap: 15px;
    }
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
   }
}






/* ---------------------------------------------------------
   📱 MOBILE FIX – Main + Formular wirklich vollflächig
--------------------------------------------------------- */
@media (max-width: 1024px) {

    /* MAIN fix */
    main {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Wrapper fix */
    .product-wrapper,
    .login-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .container,
    .product-form,
    .registration-form,
    .zeit-form {
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }



    /* Eingabefelder */
    .product-form input,
    .product-form textarea,
    .product-form select {
        width: 100% !important;
        /*padding: 16px !important; */
        font-size: 18px !important;
        border-radius: 12px !important;
        /*background: #f7f7f7 !important; */
    }
  .registration-form input,
    .registration-form textarea,
    .registration-form select {
        width: 100% !important;
        /* padding: 16px !important; */
        font-size: 18px !important;
        border-radius: 12px !important;
       /* background: #f7f7f7 !important; */
    }

    /* Buttons */
.button-row-inline,
    .button-row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 30px;
    }

    .pill-btn {
text-align: center !important;
        width: 100% !important;
        padding: 18px !important;
        font-size: 14px !important;
        border-radius: 14px !important;
    }
   .pill-btn-big,
   .add-user-btn {
        width: 100% !important;
        padding: 18px !important;
        font-size: 20px !important;
        border-radius: 14px !important;
    }
}
/* ---------------------------------------------------------
   📱 MOBILE HEADER FIX – verhindert Überbreite
--------------------------------------------------------- */
@media (max-width: 1024px) {
   
    header,
    .header-wrapper,
    .top-banner,
    .banner-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    header img,
    .banner-container img,
    .logo img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
    }

    .header-right,
    .user-info,
    .restzeit-box {
        max-width: 100% !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        text-align: center !important;
    }
}
/* ---------------------------------------------------------
   📱 FINALER MOBILE FIX – Container wirklich vollflächig
--------------------------------------------------------- */
@media (max-width: 1024px) {

    main,
    .product-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
margin-top: 20px !important;
    }

    .container,
    .product-form,
    .registration-form,
    .zeit-form {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 12px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
@media (max-width: 1024px) {
    select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;

        font-size: 15px !important;
        line-height: 1.3 !important;
        /*padding: 8px !important;*/

        display: block !important;

        /* iOS Safari Fix: Rahmen sichtbar lassen */
        -webkit-appearance: menulist-button !important;
        appearance: menulist-button !important;

        /* border: 1px solid #767676 !important; */
        border-radius: 6px !important;
        background-color: #fff !important;
    }
}


}
/* ---------------------------------------------------------
   📱 MOBILE CONTENT PADDING – Abstand zum Rand wiederherstellen
--------------------------------------------------------- */
@media (max-width: 1024px) {

   main,
    .product-wrapper,
    .container,
    .product-form,
    .registration-form,
    .zeit-form
.user-info-box {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}



@media (max-width: 1024px) {
    .cont-table {
        max-width: 100% !important;
        width: 100% !important;
        padding: 20px !important;
        margin: 20px auto !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
        border-radius: 12px !important;
    }
}
@media (max-width: 1024px) {
    main {
        padding: 16px !important;
    }

    table {
        width: 100%;
        border-spacing: 0 12px;
    }

    td, th {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 12px !important;
    }
}
