/* Mobile Styles für die Ferienwohnungsverwaltung */

/* Für kleine Bildschirme (Smartphones) */
@media screen and (max-width: 767px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        z-index: 100;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Grid */
    .col, .col-6, .col-4, .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Tabellen */
    .table-container {
        margin: 0 -15px;
    }
    
    table {
        width: 100%;
        font-size: 14px;
    }
    
    /* Formular-Elemente */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="date"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
    
    /* Dashboard-Kacheln */
    .dashboard-tile-value {
        font-size: 24px;
    }
    
    /* Login/Registrierung */
    .auth-container {
        margin: 30px auto;
    }
}

/* Für mittlere Bildschirme (Tablets) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    /* Grid */
    .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Dashboard-Kacheln */
    .dashboard-tile-value {
        font-size: 28px;
    }
}

/* Landscape-Modus auf kleinen Geräten */
@media screen and (max-height: 500px) {
    .auth-container {
        margin: 20px auto;
    }
    
    .page-title {
        margin-bottom: 15px;
    }
}