* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: sticky;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

main {
    padding: 30px;
}

.filter-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.filter-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.filter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9em;
    color: #555;
}

.form-group select,
.form-group input[type="date"] {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group select:focus,
.form-group input[type="date"]:focus {
    outline: none;
    border-color: #667eea;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-secondary {
    background: #667eea;
    color: white;
}

.btn-secondary:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.btn-primary {
    background: #48bb78;
    color: white;
}

.btn-primary:hover {
    background: #38a169;
}

.btn-logout {
    background: #f56565;
    color: white;
}

.btn-logout:hover {
    background: #e53e3e;
}

.btn-filter {
    background: #667eea;
    color: white;
}

.btn-today {
    background: #ed8936;
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85em;
}

.btn-success {
    background: #48bb78;
    color: white;
}

.btn-warning {
    background: #ed8936;
    color: white;
}

.btn-danger {
    background: #f56565;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.habits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.habit-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.habit-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.habit-card.status-done {
    border-color: #48bb78;
    background: #f0fff4;
}

.habit-card.status-skipped {
    border-color: #ed8936;
    background: #fffaf0;
}

.habit-card.status-pending {
    border-color: #cbd5e0;
    background: #f7fafc;
}

.habit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.habit-header h3 {
    font-size: 1.2em;
    color: #2d3748;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-badge.status-done {
    background: #48bb78;
    color: white;
}

.status-badge.status-skipped {
    background: #ed8936;
    color: white;
}

.status-badge.status-pending {
    background: #cbd5e0;
    color: #2d3748;
}

.habit-note {
    background: #f7fafc;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #4a5568;
}

.habit-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.habits-group {
    margin-bottom: 40px;
}

.habits-group-title {
    font-size: 1.3em;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.note-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 30px auto;
}

.note-form textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
}

.note-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.note-form button {
    margin-right: 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
    margin: 0;
    color: #2d3748;
    font-size: 1.5em;
}

.close {
    font-size: 2em;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #000;
}

/* Modal Styling - FIXED */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease-in-out;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.modal.show {
    display: flex;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

.modal-content {
    background-color: white;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-in-out;
    margin: auto;
    position: relative;
    top: auto;
    left: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
    background: #f9f9f9;
}

.modal-header h2 {
    margin: 0;
    color: #2d3748;
    font-size: 1.3em;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-body {
    padding: 25px;
}

.modal-body textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    resize: vertical;
    box-sizing: border-box;
    min-height: 120px;
}

.modal-body textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-actions button {
    margin: 0;
}



.btn.active {
    background: #667eea !important;
    color: white !important;
    border: 2px solid #667eea !important;
}

.btn.active:hover {
    background: #5568d3 !important;
    border-color: #5568d3 !important;
}


@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        max-width: 100%;
    }
    
    .modal-header h2 {
        font-size: 1.1em;
    }
}


@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 30% auto;
    }
}

/* Profile Styling */
.profile-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.profile-card,
.info-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.profile-card h2 {
    color: #2d3748;
    margin-bottom: 25px;
    font-size: 1.3em;
}

.info-card h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-form label {
    font-weight: 600;
    color: #2d3748;
}

.profile-form input,
.profile-form select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.profile-form input:focus,
.profile-form select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.profile-form input:disabled {
    background: #f9f9f9;
    cursor: not-allowed;
}

.profile-form small {
    font-size: 0.85em;
    color: #718096;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.timezone-display {
    font-size: 1.8em;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
    padding: 15px;
    background: #f0f4ff;
    border-radius: 8px;
    text-align: center;
}

.timezone-note {
    color: #718096;
    font-size: 0.95em;
    line-height: 1.6;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #f0fff4;
    color: #22543d;
    border-left-color: #48bb78;
}

.alert-error {
    background: #fff5f5;
    color: #742a2a;
    border-left-color: #f56565;
}

@media (max-width: 768px) {
    .profile-section {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* ADD HABIT FORM STYLES */
/* ==================== */

.form-section {
    padding: 20px;
    min-height: calc(100vh - 150px);
}

.form-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #2d3748;
    font-size: 1.8em;
    margin: 0 0 10px 0;
}

.form-header p {
    color: #718096;
    font-size: 0.95em;
}

.habit-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 5px;
}

.label-required {
    color: #f56565;
}

.label-optional {
    color: #a0aec0;
    font-weight: 400;
    font-size: 0.85em;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #cbd5e0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #f9f9ff;
}

.form-hint {
    font-size: 0.8em;
    color: #a0aec0;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.form-actions .btn {
    flex: 1;
    padding: 12px 20px;
    font-weight: 600;
    margin: 0;
}

.btn-large {
    min-height: 44px;
    font-size: 1em;
}

/* Tips Section */
.form-tips {
    background: #f0f4ff;
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.form-tips h3 {
    color: #667eea;
    margin: 0 0 12px 0;
    font-size: 1.1em;
}

.form-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-tips li {
    color: #2d3748;
    font-size: 0.9em;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.form-tips li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: 700;
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-left: 4px solid;
}

.alert-success {
    background: #f0fff4;
    color: #22543d;
    border-left-color: #48bb78;
}

.alert-error {
    background: #fff5f5;
    color: #742a2a;
    border-left-color: #f56565;
}

.alert-icon {
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.1em;
}

.alert-message {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-card {
        padding: 20px;
    }

    .form-section {
        padding: 10px;
    }

    .form-header h2 {
        font-size: 1.4em;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom */
    }
}


footer {
    background: #f7fafc;
    text-align: center;
    padding: 20px;
    color: #718096;
    font-size: 0.9em;
}

/* ============================================ */
/* HEADER & NAVIGATION */
/* ============================================ */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.sticky-header h1 {
    margin: 0;
    color: white;
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header-nav {
    display: flex;
    gap: 8px;
    padding: 0 30px 15px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.header-nav .btn {
    padding: 10px 16px;
    font-size: 0.9em;
}

/* ============================================ */
/* FORM SECTION */
/* ============================================ */

.form-section {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, rgba(102,126,234,0.05) 0%, rgba(118,75,162,0.05) 100%);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.form-header {
    margin-bottom: 30px;
    text-align: left;
}

.form-header h2 {
    color: #2d3748;
    font-size: 1.8em;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.form-header p {
    color: #718096;
    font-size: 0.95em;
    margin: 0;
    line-height: 1.5;
}

/* ============================================ */
/* FORM CONTROLS */
/* ============================================ */

.habit-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.required {
    color: #f56565;
    font-weight: 700;
}

.optional {
    color: #a0aec0;
    font-weight: 400;
    font-size: 0.8em;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.form-control::placeholder {
    color: #cbd5e0;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), inset 0 0 0 1px rgba(102, 126, 234, 0.2);
    background: #f9f9ff;
}

.form-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: #a0aec0;
}

.char-count {
    font-weight: 600;
    color: #667eea;
}

.form-help {
    font-style: italic;
}

/* ============================================ */
/* FORM ACTIONS */
/* ============================================ */

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.form-actions .btn {
    flex: 1;
    padding: 12px 20px;
    font-weight: 600;
    margin: 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-large {
    min-height: 44px;
    font-size: 1em;
}

/* ============================================ */
/* ALERTS */
/* ============================================ */

.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
}

.alert-error {
    background: #fff5f5;
    border: 1px solid #fed7d7;
}

.alert-icon {
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.alert-success .alert-icon {
    color: #48bb78;
}

.alert-error .alert-icon {
    color: #f56565;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    color: #2d3748;
    margin-bottom: 4px;
}

.alert-content p {
    margin: 0;
    color: #4a5568;
    font-size: 0.95em;
}

/* ============================================ */
/* INFO CARD (TIPS) */
/* ============================================ */

.info-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #fafbff 100%);
    border: 2px solid #e6efff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

.info-card h3 {
    color: #667eea;
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 700;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tip-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.tip-icon {
    font-size: 1.5em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.tip-item strong {
    color: #2d3748;
    display: block;
    font-size: 0.95em;
}

.tip-item p {
    margin: 4px 0 0 0;
    color: #718096;
    font-size: 0.9em;
    line-height: 1.5;
}

/* ============================================ */
/* MOBILE RESPONSIVE */
/* ============================================ */

@media (max-width: 768px) {
    .header-content {
        padding: 12px 15px;
    }

    .sticky-header h1 {
        font-size: 1.1em;
    }

    .header-nav {
        padding: 0 15px 12px 15px;
    }

    .form-section {
        padding: 20px 10px;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-card {
        padding: 20px;
    }

    .form-header h2 {
        font-size: 1.4em;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .form-control {
        font-size: 16px; /* Prevent iOS zoom */
    }

    .info-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        justify-content: center;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .habits-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* STICKY HEADER - TWO SECTION LAYOUT */
/* ============================================ */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Header Top - Title and Hamburger */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.sticky-header h1 {
    margin: 0;
    color: white;
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Desktop Navigation - No border, clean spacing */
.header-nav {
    display: flex;
    gap: 8px;
    padding: 0 30px 15px 30px;
    flex-wrap: wrap;
    background: transparent;
    border: none;
}

.header-nav .btn {
    padding: 10px 16px;
    font-size: 0.9em;
    margin: 0;
}

/* ============================================ */
/* HAMBURGER MENU */
/* ============================================ */

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================ */
/* MOBILE MENU - SLIDES DOWN FROM HEADER */
/* ============================================ */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 60px;
}

.mobile-menu.active {
    transform: translateY(0);
}

.menu-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.menu-item {
    display: block;
    padding: 16px 20px;
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: #f7fafc;
    color: #667eea;
    border-left-color: #667eea;
}

.menu-item.logout {
    color: #f56565;
}

.menu-nav hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 8px 0;
}

/* ============================================ */
/* MOBILE RESPONSIVE */
/* ============================================ */

@media (max-width: 768px) {
    .header-top {
        padding: 12px 15px;
    }

    .sticky-header h1 {
        font-size: 1.1em;
    }

    .header-nav {
        padding: 0 15px 12px 15px;
    }

    .mobile-menu {
        padding-top: calc(60px + 1px);
    }

    .menu-item {
        padding: 14px 15px;
        font-size: 0.95em;
    }
}

/* ============================================ */
/* DESKTOP ONLY - HIDE HAMBURGER */
/* ============================================ */

@media (min-width: 769px) {
    .hamburger,
    .mobile-menu {
        display: none !important;
    }
}
