/* Housekeeping Modülü - Mobil Odaklı Stiller */

.housekeeping-body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.housekeeping-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
    padding-bottom: 20px;
}

/* Header - Kompakt */
.housekeeping-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.header-content h1 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-content h1 i {
    color: #667eea;
}

.header-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 64px;
    text-align: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.stat-item i {
    font-size: 18px;
    display: block;
    margin-bottom: 3px;
}

.stat-item.priority i {
    color: #ff6b6b;
}

.stat-item.dirty i {
    color: #feca57;
}

.stat-item.clean i {
    color: #48dbfb;
}

.stat-item span {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 2px 0;
}

.stat-item small {
    display: block;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-refresh,
.btn-back {
    flex: 1;
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-refresh {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-back {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.btn-back:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Filtreler - Kompakt */
.housekeeping-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.housekeeping-filters::-webkit-scrollbar {
    height: 4px;
}

.housekeeping-filters::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.filter-btn {
    padding: 8px 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Odalar Listesi - Kompakt */
.housekeeping-rooms {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.room-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border-left: 4px solid #ddd;
}

.room-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.room-card.priority-room {
    border-left-color: #ff6b6b;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.room-card.dirty-room {
    border-left-color: #feca57;
    background: linear-gradient(135deg, rgba(254, 202, 87, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.room-card.clean-room {
    border-left-color: #48dbfb;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.room-info h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.room-info h3 i {
    color: #667eea;
}

.room-floor {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

.priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.room-status-badge {
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.room-status-badge.status-temiz {
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
    color: white;
}

.room-status-badge.status-kirli {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    color: white;
}

.room-status-badge.status-dolu {
    background: linear-gradient(135deg, #a55eea 0%, #8854d0 100%);
    color: white;
}

/* Misafir Bilgileri - Kompakt */
.room-guests {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.guests-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: #667eea;
    font-weight: 600;
    font-size: 12px;
}

.guests-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guests-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    color: #333;
    font-size: 12px;
}

.guests-list li i {
    color: #667eea;
    width: 14px;
}

.guest-date {
    margin-left: auto;
    color: #999;
    font-size: 11px;
}

/* Oda İşlemleri - Kompakt */
.room-actions {
    margin-top: 10px;
}

.btn-clean {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(72, 219, 251, 0.3);
    min-height: 44px;
    touch-action: manipulation;
}

.btn-clean:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(72, 219, 251, 0.4);
}

.btn-clean:active {
    transform: translateY(0);
}

.btn-clean:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.room-cleaned {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    opacity: 0.7;
}

.btn-mark-dirty {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(254, 202, 87, 0.3);
    min-height: 44px;
    touch-action: manipulation;
}

.btn-mark-dirty:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 202, 87, 0.4);
}

.btn-mark-dirty:active {
    transform: translateY(0);
}

.btn-mark-dirty:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 600;
    margin-top: 10px;
}

.header-user i {
    color: #667eea;
}

.btn-logout {
    background: transparent;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-logout:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* Boş Durum - Kompakt */
.empty-state {
    text-align: center;
    padding: 32px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.empty-state i {
    font-size: 48px;
    color: #48dbfb;
    margin-bottom: 12px;
}

.empty-state h2 {
    margin: 0 0 6px 0;
    color: #333;
    font-size: 18px;
}

.empty-state p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

/* Toast Bildirimi - Kompakt */
.toast {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    max-width: 90%;
    text-align: center;
}

.toast.success {
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
}

.toast.error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .housekeeping-header {
        padding: 15px;
    }
    
    .header-content h1 {
        font-size: 24px;
    }
    
    .header-stats {
        gap: 10px;
    }
    
    .stat-item {
        min-width: 70px;
        padding: 10px;
    }
    
    .stat-item span {
        font-size: 20px;
    }
    
    .room-card {
        padding: 15px;
    }
    
    .room-info h3 {
        font-size: 20px;
    }
    
    .btn-clean,
    .room-cleaned {
        padding: 16px 20px;
        font-size: 16px;
        min-height: 56px;
    }
}

@media (max-width: 480px) {
    .housekeeping-container {
        padding: 5px;
    }
    
    .housekeeping-header {
        padding: 12px;
        border-radius: 15px;
    }
    
    .header-content h1 {
        font-size: 20px;
    }
    
    .stat-item {
        min-width: 60px;
        padding: 8px;
    }
    
    .stat-item span {
        font-size: 18px;
    }
    
    .stat-item small {
        font-size: 10px;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .room-card {
        padding: 12px;
        border-radius: 15px;
    }
    
    .room-info h3 {
        font-size: 18px;
    }
    
    .btn-clean,
    .room-cleaned {
        padding: 14px 18px;
        font-size: 15px;
        min-height: 52px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .housekeeping-body {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
    
    .housekeeping-header,
    .room-card,
    .empty-state {
        background: rgba(30, 30, 46, 0.95);
        color: #e0e0e0;
    }
    
    .header-content h1,
    .room-info h3 {
        color: #e0e0e0;
    }
    
    .stat-item {
        background: rgba(30, 30, 46, 0.8);
    }
    
    .stat-item span {
        color: #e0e0e0;
    }
    
    .stat-item small {
        color: #999;
    }
    
    .btn-back {
        background: rgba(255, 255, 255, 0.1);
        color: #e0e0e0;
    }
    
    .guests-list li {
        color: #e0e0e0;
    }
    
    .guest-date {
        color: #999;
    }
    
    .empty-state h2 {
        color: #e0e0e0;
    }
    
    .empty-state p {
        color: #999;
    }
}

