/* Master CSS File - Consolidated from all template files */

/* ===== BASE STYLES (from base.html) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: #002B5B;
    color: white;
    padding: 1rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    height: 50px;
    width: auto;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hamburger-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.hamburger-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    display: none;
    margin-top: 0.5rem;
}

.hamburger-dropdown.show {
    display: block;
}

.hamburger-dropdown a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: background-color 0.3s;
    border-bottom: 1px solid #eee;
}

.hamburger-dropdown a:last-child {
    border-bottom: none;
}

.hamburger-dropdown a:hover {
    background-color: #f8f9fa;
}

.hamburger-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.hamburger-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

.sensor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sensor-card {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sensor-card:hover {

    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.sensor-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #002B5B;
    margin-bottom: 0.7rem;
}

.sensor-id {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.7rem;
}

.reading-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.reading-value {
    font-size: 1.1rem;
    font-weight: 500;
}

.temperature {
    color: #007e15;
}

.humidity {
    color: #3498db;
}

.timestamp {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.7rem;
}

.no-data {
    color: #999;
    font-style: italic;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #002B5B;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #001a3d;
}

.readings-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.readings-table th,
.readings-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.readings-table th {
    background-color: #002B5B;
    color: white;
    font-weight: 600;
}

.readings-table tr:hover {
    background-color: #f8f9fa;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-active {
    background-color: #28a745;
}

.status-inactive {
    background-color: #dc3545;
}

/* Threshold Alert Styles */
.threshold-alert {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
    animation: pulse-alert 2s infinite;
}

.threshold-alert.threshold-warning {
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    box-shadow: 0 2px 10px rgba(255, 167, 38, 0.3);
}

.threshold-alert.threshold-critical {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    box-shadow: 0 2px 10px rgba(229, 62, 62, 0.4);
}

.alert-icon {
    font-size: 1.2em;
    animation: bounce 1s infinite;
}

.alert-text {
    flex: 1;
    font-size: 0.9em;
}

/* Breach Indicators for Reading Values */
.breach-high {
    color: #e53e3e !important;
    font-weight: 700;
    text-shadow: 0 0 3px rgba(229, 62, 62, 0.3);
}

.breach-low {
    color: #3182ce !important;
    font-weight: 700;
    text-shadow: 0 0 3px rgba(49, 130, 206, 0.3);
}

.breach-indicator {
    margin-left: 5px;
    font-size: 1.1em;
    animation: bounce 1.5s infinite;
}

.threshold-ranges {
    font-size: 0.7rem;
    color: #666;
    margin-top: 6px;
    padding: 4px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #002B5B;
}

/* Animations */
@keyframes pulse-alert {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Stale Sensor Styles */
.stale-sensor {
    border: 3px solid #ff6b6b !important;
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%) !important;
    position: relative;
    animation: stale-pulse 3s infinite;
}

.stale-sensor::before {
    content: "⚠️";
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: bounce 2s infinite;
}

.stale-indicator {
    color: #e53e3e;
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: 10px;
    padding: 2px 6px;
    background: rgba(229, 62, 62, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(229, 62, 62, 0.3);
    animation: pulse-stale 2s infinite;
}

@keyframes stale-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1), 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1), 0 0 0 8px rgba(255, 107, 107, 0.1);
    }
}

@keyframes pulse-stale {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ===== DASHBOARD STYLES (from dashboard.html) ===== */
.time-slice-controls {
    display: flex;
    gap: 0.5rem;
}

.time-slice-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #002B5B;
    background: white;
    color: #002B5B;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.time-slice-btn:hover {
    background: #002B5B;
    color: white;
}

.time-slice-btn.active {
    background: #002B5B;
    color: white;
}

/* ===== MANAGER LOGIN STYLES (from manager_login.html) ===== */
/* Hide the header for login page */
.manager-login-page header {
    display: none !important;
}

.manager-login-page .container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: calc(100vh - 2rem) !important;
}

.login-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-header {
    margin-bottom: 30px;
}

.login-header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 16px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #002B5B;
}

.pin-input {
    text-align: center;
    letter-spacing: 2px;
    font-family: monospace;
    font-size: 18px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #002B5B;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}


.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #c33;
}

.info-message {
    background: #e8f4fd;
    color: #0066cc;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #0066cc;
}

.back-link {
    margin-top: 20px;
}

.back-link a {
    color: #002B5B;
    text-decoration: none;
    font-weight: 500;
}

.back-link a:hover {
    text-decoration: underline;
}

.lockout-warning {
    background: #fff3cd;
    color: #856404;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #ffc107;
}

/* ===== MANAGER SENSOR SETTINGS STYLES (from manager_sensor_settings.html) ===== */
.btn {
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: transparent !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-secondary {
    background: #780000 !important;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}
.btn-primary{
    background-color: #002B5B !important;
}
.btn-primary,
button[type="submit"],
input[type="submit"] {
    
    color: gainsboro !important;
    padding: 15px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {

    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6) !important;
}

.btn-secondary {
    background: #002b5b !important;
    color: white !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.4) !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.6) !important;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
    color: white !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4) !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-danger:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6) !important;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-warning {
    background: #780000 !important;
    color: gainsboro;
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.4);
}

.btn-warning:hover {
    box-shadow: 0 8px 25px rgba(253, 203, 110, 0.6);
}

.btn-success {
    background: #004b23;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4);
}

.btn-success:hover {
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.6);
}

.manager-actions {
    text-align: right;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.success-message {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #00a085;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.sensor-name-management {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.sensor-name-management::before {
    display: none;
}

.sensor-name-management h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.sensor-name-management p {
    color: #636e72;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 16px;
}

.sensor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.sensor-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.sensor-card::before {
    display: none;
}

.sensor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.sensor-name {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
}

.sensor-id {
    font-size: 14px;
    color: #636e72;
    margin-top: 5px;
    font-family: 'Courier New', monospace;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background:#004b23 !important ;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.status-inactive {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;

}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
   
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.threshold-section,
.form-section {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid #dee2e6;
}

.threshold-section h4,
.form-section h4 {
    color: #495057;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.threshold-section .form-group,
.form-section .form-group {
    margin-bottom: 12px;
}

.threshold-section .form-group input,
.form-section .form-group input,
.form-section .form-group select {
    background: white;
    border: 1px solid #ced4da;
    color: #495057;
    padding: 8px 12px;
    font-size: 14px;
}

.threshold-section .form-group input:focus,
.form-section .form-group input:focus,
.form-section .form-group select:focus {
    background: white;
    border-color: #002B5B;
    box-shadow: 0 0 0 0.2rem rgba(0, 43, 91, 0.25);
}

.threshold-section .form-group label,
.form-section .form-group label {
    color: #495057;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
    align-items: center;
    justify-content: flex-start;
}

.collapsible {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.collapsible-header {
    padding: 20px;
    background-color: #002b5b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.collapsible-header:hover {
    background: grey;
    color: white;
}

.collapsible-content {
    padding: 0 20px 20px;
    display: none;
}

.collapsible.active .collapsible-content {
    display: block;
}

.collapsible-toggle {
    transition: transform 0.3s ease;
    font-size: 18px;
}

.collapsible.active .collapsible-toggle {
    transform: rotate(180deg);
}

.no-sensors {
    text-align: center;
    padding: 60px;
    color: #636e72;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-sensors h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
}

/* ===== MANAGER SETTINGS STYLES (from manager_settings.html) ===== */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.settings-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
   
}

.settings-card::before {
    display: none;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.settings-card:hover {

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.settings-card h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
    position: relative;
    font-weight: 700;
}

.settings-card h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.info-box {
    background: #002B5B;
    color: gainsboro;
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.3);
}

.pin-change-form {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    padding: 25px;
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
}

.pin-change-form h3 {
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.pin-input {
    text-align: center;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pin-input:focus {
    background: white;
    border-color: #667eea;
}

/* ===== SENSOR DETAIL STYLES (from sensor_detail.html) ===== */
.time-slice-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.time-slice-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #002B5B;
    background: white;
    color: #002B5B;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.time-slice-btn:hover {
    background: #002B5B;
    color: white;
}

.time-slice-btn.active {
    background: #002B5B;
    color: white;
}

/* ===== INLINE STYLES CONVERTED TO CLASSES ===== */
.error-page-container {
    text-align: center;
    padding: 2rem;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-content p {
    font-size: 1.1rem;
    margin: 1rem 0;
}

.error-back-button {
    margin-top: 2rem;
}

.troubleshooting-tips {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    text-align: left;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .header-logo {
        height: 40px;
    }
    
    .sensor-grid {
        grid-template-columns: 1fr;
    }
    
    .hamburger-dropdown {
        min-width: 180px;
        right: -10px;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .manager-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .time-slice-controls {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .time-slice-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .login-container {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    .header-logo {
        height: 35px;
    }
    
    .hamburger-dropdown {
        min-width: 160px;
    }
}