:root {
    --deep-black: #0a0a0a;
    --neon-green: #00ff9d;
    --neon-blue: #00d9ff;
    --neon-yellow: #ffcc00;
    --card-bg: rgba(30, 30, 30, 0.7);
    --text-light: #f0f0f0;
    --text-dim: #a0a0a0;
    --primary-color: #00ff9d;
    --secondary-color: #00d9ff;
    --accent-color: #ffcc00;
    --danger-color: #ff4757;
    --success-color: #2ed573;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

.theme-light {
    --deep-black: #f5f5f5;
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-light: #333333;
    --text-dim: #666666;
}

.theme-dark {
    --deep-black: #0a0a0a;
    --card-bg: rgba(30, 30, 30, 0.7);
    --text-light: #f0f0f0;
    --text-dim: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--deep-black);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 80px;
    transition: var(--transition);
}
     
/* Header Styles */
.header {
    padding: 20px 16px 10px;
    position: relative;
    text-align: center;
    background: linear-gradient(to bottom, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.7) 70%, rgba(10,10,10,0) 100%);
    z-index: 10;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.hamburger-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background: var(--primary-color);
    color: var(--deep-black);
}

.notification-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.notification-icon:hover {
    background: var(--primary-color);
    color: var(--deep-black);
}

.info-icon {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #ff4757;
    font-size: 20px;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.goal-count-badge {
    background: #032c3e;
    color: var(--deep-black);
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
}
.theme-dark .goal-count-badge {
    background: #ff9800;
    color: var(--deep-black);
}

.theme-light .header {
    background: linear-gradient(to bottom, rgba(245,245,245,0.9) 0%, rgba(245,245,245,0.7) 70%, rgba(245,245,245,0) 100%);
}

.logo {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    letter-spacing: 1px;
    align-self: center;
}

.pulse-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue), var(--neon-yellow));
    border-radius: 3px;
    margin: 8px 0;
    position: relative;
    overflow: hidden;
}

.pulse-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes slideDown {
    0% { 
        opacity: 0;
        transform: translateY(-10px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
.nav-buttons {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    margin-bottom: 10px;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.nav-btn.active {
    color: var(--neon-green);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 157, 0.2), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

/* Cards */
.dashboard {
    padding: 0 16px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.theme-light .card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.theme-light .card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title i {
    margin-right: 8px;
    color: var(--neon-blue);
}

.motivation-text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 15px;
}

.quotes-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--neon-blue);
    margin-bottom: 0;
}

.theme-light .quote-item {
    background: rgba(0, 0, 0, 0.03);
}

.goal-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.theme-light .goal-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.goal-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.goal-content {
    flex: 1;
}

.goal-text {
    flex: 1;
    font-size: 14px;
    margin: 0;
    padding: 0;
    line-height: 20px; /* Match checkbox height for alignment */
}

.goal-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ff8c00;
    background: transparent;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: var(--transition);
    cursor: pointer;
}

.goal-check.checked {
    background: var(--neon-green);
    border: 2px solid var(--neon-green);
    color: var(--deep-black);
}

/* Goal completion spinner */
.goal-check.loading {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--neon-green);
    animation: spin 1s linear infinite;
    pointer-events: none;
}

.goal-check.loading i {
    display: none;
}

/* Menu Popup Styles */
.menu-popup {
    position: absolute;
    top: 70px;
    left: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: none;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.menu-header h3 {
    margin: 0;
    color: var(--text-color);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--danger-color);
    color: white;
}

.menu-options {
    padding: 10px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: var(--primary-color);
    color: var(--deep-black);
}

.menu-item i {
    margin-right: 12px;
    width: 20px;
    font-size: 16px;
}

.menu-item span {
    font-weight: 500;
}

/* Info Modal Styles */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 1001;
    animation: fadeIn 0.3s ease;
}

.info-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.info-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--card-bg);
    border-radius: 12px 12px 0 0;
}

.info-modal-header h2 {
    margin: 0;
    color: var(--text-color);
}

.close-info-modal {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.close-info-modal:hover {
    background: var(--danger-color);
    color: white;
}

.info-modal-body {
    padding: 20px;
}

.faq-item, .terms-section, .privacy-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child, .terms-section:last-child, .privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h3, .terms-section h3, .privacy-section h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.faq-item p, .terms-section p, .privacy-section p {
    line-height: 1.6;
    color: var(--text-color);
}

/* Support Page Styles */
.support-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.support-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.back-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--primary-color);
    color: var(--deep-black);
}

.support-header h1 {
    margin: 0;
    color: var(--text-color);
}

.support-section {
    margin-bottom: 30px;
}

.support-section h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.support-options {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.support-option {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.support-option:hover {
    background: var(--primary-color);
    color: var(--deep-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.support-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--deep-black);
    border-radius: 50%;
    margin-right: 20px;
    font-size: 20px;
}

.support-details h3 {
    margin: 0 0 5px 0;
    color: var(--text-color);
}

.support-details p {
    margin: 0 0 8px 0;
    color: var(--text-dim);
}

.support-email {
    font-family: monospace;
    background: var(--deep-black);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.support-info {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.support-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.app-info p {
    margin: 8px 0;
    color: var(--text-color);
}

/* Info Pages Styles */
.info-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 999;
    overflow-y: auto;
}

.support-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 999;
    overflow-y: auto;
}

.info-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    min-height: 100vh;
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.info-header h1 {
    margin: 0;
    color: var(--text-color);
}

.info-content {
    line-height: 1.7;
}

.faq-item, .terms-section, .privacy-section {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.faq-item h3, .terms-section h3, .privacy-section h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2em;
}

.faq-item p, .terms-section p, .privacy-section p {
    margin: 0;
    color: var(--text-color);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.goal-text {
    flex: 1;
    font-size: 14px;
}

.goal-content {
    flex: 1;
}

.day-goal-content {
    flex: 1;
}

.goal-actions {
    display: flex;
    gap: 8px;
}

.goal-action-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
}

.goal-action-btn:hover {
    color: var(--neon-blue);
}

/* Energy Tracker */
.energy-level {
    height: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    margin: 15px 0;
    overflow: hidden;
    position: relative;
}

.theme-light .energy-level {
    background: rgba(0,0,0,0.1);
}

.energy-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-yellow));
    border-radius: 6px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.energy-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.energy-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-dim);
}

/* 30-Day Schedule */
.schedule-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.day-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.theme-light .day-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    transition: all 0.3s ease;
}

/* Progress bar color variants */
.day-card.completed::before {
    background: #f32539; /* Red for 100% completion */
}

.day-card.current-day::before {
    background: #ffd700; /* Yellow for current day */
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.day-card.partial-complete::before {
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue)); /* Default gradient for partial completion */
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.day-header:hover {
    color: var(--neon-blue);
}

.day-toggle {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: var(--neon-green);
}

.day-toggle.expanded {
    transform: rotate(180deg);
}

.day-number {
    font-weight: 600;
    font-size: 18px;
    color: var(--neon-blue);
}

.day-progress {
    font-size: 12px;
    color: var(--text-dim);
}

.day-goals {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.day-goals.expanded {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 10px;
}

.day-goal {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 12px;
}

.day-goal-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ff8c00;
    background: transparent;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.day-goal-check.checked {
    background: var(--neon-green);
    border: 1px solid var(--neon-green);
    color: var(--deep-black);
}

/* Day goal completion spinner */
.day-goal-check.loading {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--neon-green);
    animation: spin 1s linear infinite;
    pointer-events: none;
}

.day-goal-check.loading i {
    display: none;
}

.day-goal-text {
    flex: 1;
    line-height: 16px; /* Match checkbox height for alignment */
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.day-goal-actions {
    opacity: 1;
    transition: opacity 0.3s ease;
    margin-left: 8px;
}

.day-goal-delete {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
    padding: 2px;
}

.day-goal-delete:hover {
    color: var(--danger-color);
}

.day-goal-edit {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
    padding: 2px;
    margin-right: 4px;
}

.day-goal-edit:hover {
    color: var(--neon-blue);
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 16px;
    transition: var(--transition);
}

.theme-light .form-input {
    border: 1px solid rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.05);
    color: var(--text-light);
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 2px rgba(0, 217, 255, 0.3);
}

.form-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    color: var(--deep-black);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.4);
}

.secondary-btn {
    background: transparent;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: var(--neon-green);
    color: var(--deep-black);
}

.sub-description-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sub-description-input {
    flex: 1;
}

.remove-sub-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-sub-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.goal-sub-descriptions {
    margin-top: 8px;
    margin-left: 10px;
}

.goal-sub-item {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.goal-sub-item:before {
    content: "•";
    color: var(--neon-green);
    font-weight: bold;
    margin-top: 1px;
}

.form-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-dim);
}

.form-link a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: var(--transition);
}

.form-link a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

.theme-light .modal-content {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    max-width: 350px;
}

.notification {
    background: var(--card-bg);
    border-left: 4px solid var(--neon-green);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transform: translateX(400px);
    transition: all 0.3s ease;
    opacity: 0;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: var(--success-color);
}

.notification.error {
    border-left-color: var(--danger-color);
}

.notification.info {
    border-left-color: var(--neon-blue);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.notification-title {
    font-weight: 600;
    color: var(--text-light);
    font-size: 14px;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: var(--text-light);
}

.notification-message {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.4;
}

/* Offline Modal */
.offline-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.offline-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 2px solid var(--danger-color);
}

.offline-icon {
    font-size: 48px;
    color: var(--danger-color);
    margin-bottom: 20px;
}

.offline-title {
    color: var(--text-light);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.offline-message {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.retry-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #e03e51;
}

.retry-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger-color);
}

/* Settings */
.settings-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Goal Order Dropdown Custom Styles */
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 240px;
}

.dropdown-btn {
    width: 100%;
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.dropdown-btn:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 0 2px rgba(0,255,157,0.2);
}

.dropdown-list {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 10;
    padding: 6px 0;
}

.dropdown-item {
    padding: 10px 18px;
    color: var(--text-light);
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--neon-blue);
    color: var(--deep-black);
}

.dropdown-list.hidden {
    display: none;
}

.theme-light .dropdown-btn, .theme-light .dropdown-list {
    background: #fff;
    color: #333;
}

.theme-light .dropdown-item {
    color: #333;
}

.theme-light .dropdown-item:hover {
    background: var(--neon-blue);
    color: #fff;
}

.theme-light .settings-option {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.settings-option:last-child {
    border-bottom: none;
}

.settings-label {
    font-weight: 500;
}

.goal-order-setting {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.goal-order-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

.goal-order-option:hover {
    background-color: rgba(74, 144, 226, 0.1);
}

.goal-order-option.active i {
    color: #4CAF50 !important;
}

.theme-selector {
    display: flex;
    gap: 10px;
}

.theme-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.theme-option.active {
    border-color: var(--neon-blue);
}

.theme-light-option {
    background: #f5f5f5;
}

.theme-dark-option {
    background: #0a0a0a;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
}

.theme-light .bottom-nav {
    background: rgba(245, 245, 245, 0.95);
    border-top: 1px solid rgba(0,0,0,0.1);
}

.nav-icon {
    color: var(--text-dim);
    font-size: 20px;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.nav-icon.active {
    color: var(--neon-green);
}

.nav-icon::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--neon-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-icon.active::after {
    opacity: 1;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    body {
        max-width: 1200px;
        margin: 0 auto;
    }
   
    .schedule-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .schedule-container {
        grid-template-columns: 1fr;
    }
    
    /* Day selection grids should show 2 columns on mobile */
    #day-selection-grid,
    #edit-day-selection-grid, 
    #delete-day-selection-grid {
        grid-template-columns: 1fr 1fr;
    }
   
    .day-card {
        padding: 10px;
    }
    
    .day-goal-text {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .day-goal {
        margin-bottom: 8px;
        padding: 6px;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.error-message {
    color: var(--danger-color);
    font-size: 14px;
    margin-top: 5px;
}

/* Password Criteria Styles */
.password-criteria {
    margin-top: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.criteria-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.criteria-item:last-child {
    margin-bottom: 0;
}

.criteria-icon {
    font-size: 8px;
    margin-right: 8px;
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.criteria-item.valid {
    color: var(--success-color);
}

.criteria-item.valid .criteria-icon {
    color: var(--success-color);
}

.criteria-item.valid .criteria-icon:before {
    content: "\f058"; /* fa-check-circle */
}

.info-message {
    color: var(--primary-color);
    font-size: 13px;
    margin-top: 5px;
    padding: 8px 12px;
    background: rgba(var(--primary-rgb), 0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    line-height: 1.4;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.success-message {
    color: var(--success-color);
    font-size: 14px;
    margin-top: 5px;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--neon-blue);
    animation: spin 1s ease-in-out infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
