/* Create Profile Widget Text Fix */
.create-profile h3 {
    color: var(--profile-text) !important;
}

.create-profile p {
    color: var(--text-secondary) !important;
}

/* Free Service Notice */
.free-service-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.free-badge {
    background: linear-gradient(135deg, #10B981, #34D399);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.free-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Fullscreen Notes Interface */
.fullscreen-notes-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fullscreen-notes-overlay.show {
    opacity: 1;
    visibility: visible;
}

.fullscreen-notes-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fullscreen-notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--topbar-bg);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--card-border);
    box-shadow: 0 2px 15px var(--shadow-accent);
}

.notes-header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.close-fullscreen-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: var(--button-primary-text);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px var(--shadow-accent);
}

.close-fullscreen-btn:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-accent);
}

.close-icon {
    font-size: 1.2rem;
}

.notes-title-section h1 {
    color: var(--topbar-title);
    font-size: 1.5rem;
    margin: 0;
    margin-bottom: 0.25rem;
}

.notes-title-section p {
    color: var(--topbar-text);
    margin: 0;
    font-size: 0.875rem;
}

.notes-header-right {
    display: flex;
    gap: 1rem;
}

.header-btn {
    margin-bottom: 0;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.fullscreen-notes-content {
    flex: 1;
    display: flex;
    height: calc(100vh - 100px);
    overflow: hidden;
}

.notes-main-editor {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow: hidden;
}

.note-title-input {
    margin-bottom: 1.5rem;
}

.title-input {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    outline: none;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.title-input:focus {
    border-bottom-color: var(--accent-color);
}

.title-input::placeholder {
    color: var(--text-accent);
    opacity: 0.6;
}

.note-content-editor {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-textarea {
    flex: 1;
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.125rem;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
    outline: none;
    resize: none;
    padding: 1rem 0;
}

.content-textarea::placeholder {
    color: var(--text-accent);
    opacity: 0.7;
    line-height: 1.6;
}

.notes-sidebar-right {
    width: 350px;
    background: var(--topbar-bg);
    border-left: 2px solid var(--card-border);
    padding: 2rem;
    overflow-y: auto;
    backdrop-filter: blur(15px);
}

.sidebar-section {
    margin-bottom: 2.5rem;
}

.sidebar-section h3 {
    color: var(--topbar-title);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recent-notes-list {
    max-height: 200px;
    overflow-y: auto;
}

.empty-notes-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-accent);
}

.empty-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.quick-goals-area {
    text-align: center;
    padding: 1rem;
}

.quick-goals-area p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.sidebar-goal-btn {
    margin-bottom: 0;
    width: 100%;
}

.writing-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
}

.writing-stats .stat-item {
    text-align: center;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.writing-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.writing-stats .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-note-item {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.recent-note-item:hover {
    background: var(--card-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-accent);
}

.recent-note-title {
    color: var(--topbar-title);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.recent-note-preview {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.recent-note-date {
    color: var(--text-accent);
    font-size: 0.7rem;
}

/* My Notes Interface - Meeting Notes Style */
.notes-interface-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.notes-header {
    text-align: center;
    margin-bottom: 3rem;
}

.notes-header h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.notes-sections {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.notes-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--card-border);
    backdrop-filter: blur(15px);
}

.notes-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
}

.section-icon {
    font-size: 1.5rem;
}

/* Meeting Notes Style Layout */
.meeting-notes-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-top: 2rem;
}

.notes-main-content {
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid var(--card-border);
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.notes-content-header {
    background: var(--topbar-bg);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--card-border);
    display: flex;
    justify-content: between;
    align-items: center;
}

.notes-content-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notes-content-title h2 {
    color: var(--topbar-title);
    margin: 0;
    font-size: 1.5rem;
}

.notes-content-subtitle {
    color: var(--topbar-text);
    margin: 0;
    font-size: 0.875rem;
}

.add-note-btn {
    background: var(--button-primary);
    color: var(--button-primary-text);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-note-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-accent);
}

.notes-list-container {
    padding: 2rem;
}

.notes-list {
    display: grid;
    gap: 1rem;
}

.note-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.note-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-accent);
}

.note-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.note-item-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.note-item-date {
    color: var(--text-accent);
    font-size: 0.75rem;
    background: var(--card-border);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.note-item-preview {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.note-item-actions {
    display: flex;
    gap: 0.75rem;
}

.note-action-btn {
    background: var(--card-border);
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.note-action-btn:hover {
    background: var(--accent-color);
    color: var(--button-primary-text);
}

.notes-sidebar-left {
    display: grid;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
}

.sidebar-widget h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Subscription Interface */
.subscription-interface {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.subscription-header {
    text-align: center;
    margin-bottom: 3rem;
}

.subscription-header h2 {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subscription-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-accent);
}

.plan-card.featured {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px var(--shadow-accent);
}

.plan-card.featured::before {
    content: '✨ MOST POPULAR';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--button-primary);
    color: var(--button-primary-text);
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.plan-name {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.plan-price {
    margin-bottom: 2rem;
}

.price-amount {
    color: var(--accent-color);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    color: var(--text-accent);
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-check {
    color: var(--accent-color);
    font-weight: bold;
}

.plan-cta {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--button-primary);
    color: var(--button-primary-text);
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-accent);
}

.plan-cta.secondary {
    background: var(--card-border);
    color: var(--text-primary);
}

.subscription-benefits {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    text-align: center;
}

.benefits-title {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .meeting-notes-layout {
        grid-template-columns: 1fr;
    }
    
    .notes-sidebar-left {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .fullscreen-notes-content {
        flex-direction: column;
    }
    
    .notes-sidebar-right {
        width: 100%;
        max-height: 300px;
        border-left: none;
        border-top: 2px solid var(--card-border);
    }
}

@media (max-width: 768px) {
    .fullscreen-notes-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .notes-header-left {
        flex-direction: column;
        gap: 1rem;
    }
    
    .notes-header-right {
        justify-content: center;
    }
    
    .title-input {
        font-size: 2rem;
    }
    
    .content-textarea {
        font-size: 1rem;
    }
    
    .notes-main-editor {
        padding: 1rem;
    }
    
    .notes-sidebar-right {
        padding: 1rem;
    }
    
    .subscription-plans {
        grid-template-columns: 1fr;
    }
    
    .subscription-interface {
        padding: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Dark Theme (Default) */
.dark-theme {
    --bg-primary: linear-gradient(180deg, #0F0F23 0%, #1A0B3D 15%, #2D1B69 30%, #4A4A8A 45%, #6B46C1 60%, #8B7FB8 75%, #A596C8 85%, #C8B9D8 95%, #E0D5E8 100%);
    --text-primary: #F0EBE3;
    --text-secondary: #E5D9F2;
    --text-accent: #C8A2C8;
    --accent-color: #FFD93D;
    --accent-secondary: #F4A942;
    --card-bg: rgba(240, 235, 227, 0.1);
    --card-border: rgba(255, 217, 61, 0.2);
    --sidebar-bg: linear-gradient(180deg, #4A4A8A 0%, #2D1B69 50%, #1A0B3D 100%);
    --sidebar-header-bg: rgba(26, 11, 61, 0.3);
    --button-primary: linear-gradient(135deg, #FFD93D, #F4A942);
    --button-primary-text: #1A0B3D;
    --shadow-primary: rgba(26, 11, 61, 0.3);
    --shadow-accent: rgba(255, 217, 61, 0.4);
    --topbar-bg: rgba(240, 235, 227, 0.9);
    --topbar-text: #6B46C1;
    --topbar-title: #1A0B3D;
    --milestone-text: #FFFFFF;
    --profile-text: #1A0B3D;
    --white-bg-text: #1A0B3D;
    --white-bg-border: #2D1B69;
    --sidebar-text: #FFFFFF;
    --sidebar-card-bg: rgba(26, 11, 61, 0.9);
    --sidebar-card-border: #2D1B69;
    --sidebar-main-bg: linear-gradient(180deg, #1A0B3D 0%, #2D1B69 50%, #4A4A8A 100%);
}

/* Light Theme with Blue Palette */
.light-theme {
    --bg-primary: linear-gradient(180deg, #F0F3FA 0%, #E5F0FA 20%, #D1E8FC 40%, #BDE0FE 60%, #A2D2FF 80%, #8FC9FF 100%);
    --text-primary: #154B77;
    --text-secondary: #1E5F8B;
    --text-accent: #2970A3;
    --accent-color: #4798C7;
    --accent-secondary: #FFD580;
    --card-bg: #FFFFFF;
    --card-border: rgba(71, 152, 199, 0.2);
    --sidebar-bg: linear-gradient(180deg, #E5F0FA 0%, #D1E8FC 50%, #BDE0FE 100%);
    --sidebar-header-bg: rgba(209, 232, 252, 0.8);
    --button-primary: linear-gradient(135deg, #4798C7, #6BB6FF);
    --button-primary-text: #FFFFFF;
    --button-hover: linear-gradient(135deg, #6BB6FF, #4798C7);
    --shadow-primary: rgba(71, 152, 199, 0.2);
    --shadow-accent: rgba(255, 213, 128, 0.3);
    --topbar-bg: rgba(255, 255, 255, 0.95);
    --topbar-text: #2970A3;
    --topbar-title: #154B77;
    --link-color: #4798C7;
    --milestone-text: #154B77;
    --profile-text: #154B77;
    --white-bg-text: #154B77;
    --white-bg-border: #4798C7;
    --sidebar-text: #FFFFFF;
    --sidebar-card-bg: rgba(21, 75, 119, 0.9);
    --sidebar-card-border: #154B77;
    --sidebar-main-bg: linear-gradient(180deg, #154B77 0%, #1E5F8B 50%, #2970A3 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-primary);
    position: relative;
    transition: all 0.5s ease;
}

/* Standard font for most text - no more decorative fonts except where specified */
.breadcrumb-section,
.cta-message h3,
.cta-message p,
.nav-link,
.btn,
.tab-btn,
.node-label,
.streak-label,
.badge-text,
.status-text,
.letter-preview,
p, span, div {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Logo text styling */
.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-shadow: none;
}

/* Light theme logo text - white with no shadow */
.light-theme .logo-text {
    color: #FFFFFF;
    text-shadow: none;
}

/* Headers and important elements */
.breadcrumb-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-shadow: none;
    color: var(--text-primary);
}

/* Magical floating particles */
.magic-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: floatUp 8s infinite linear;
    opacity: 0.7;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    cursor: pointer;
}

.toggle-track {
    width: 60px;
    height: 30px;
    background: rgba(107, 70, 193, 0.3);
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px var(--shadow-accent);
    backdrop-filter: blur(10px);
}

.light-theme .toggle-track {
    background: rgba(255, 217, 61, 0.3);
}

.toggle-thumb {
    width: 24px;
    height: 24px;
    background: var(--button-primary);
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translateX(0);
}

.light-theme .toggle-thumb {
    transform: translateX(28px);
}

.theme-icon {
    font-size: 12px;
    transition: all 0.3s ease;
}

.light-theme .theme-icon:before {
    content: '☀️';
}

.toggle-track:hover {
    box-shadow: 0 6px 20px var(--shadow-accent);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    flex-direction: column;
    gap: 4px;
    background: var(--sidebar-header-bg);
    padding: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    box-shadow: 0 4px 20px var(--shadow-primary);
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 25px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
    box-shadow: 4px 0 25px var(--shadow-primary);
    border-right: 2px solid var(--card-border);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--card-border);
    background: var(--sidebar-header-bg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.logo-fallback {
    font-size: 32px;
    display: none;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--text-primary);
    text-transform: lowercase;
}

.sidebar-content {
    flex: 1;
    padding: 2rem 0;
}

.nav-menu {
    list-style: none;
}

.nav-item {
    margin-bottom: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: var(--card-bg);
    color: var(--text-primary);
    transform: translateX(5px);
}

.nav-item.active .nav-link {
    background: var(--card-bg);
    color: var(--text-primary);
    border-right: 4px solid var(--accent-color);
    box-shadow: inset 0 0 10px var(--card-border);
}

.nav-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--card-border);
    background: var(--sidebar-header-bg);
}

.streak-counter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid var(--card-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px var(--shadow-accent);
}

.streak-icon {
    font-size: 1.5rem;
}

.streak-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.streak-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: margin-right 0.3s ease;
    z-index: 2;
}

.main-content.sidebar-collapsed {
    margin-right: 0;
}

.main-content:not(.sidebar-collapsed) {
    margin-right: 350px;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--topbar-bg);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--card-border);
    box-shadow: 0 2px 15px var(--shadow-accent);
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.breadcrumb-section {
    color: var(--topbar-text);
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0.5px;
    font-style: normal;
}

.breadcrumb-title {
    color: var(--topbar-title);
    font-size: 1.75rem;
    margin-top: 0.25rem;
    text-shadow: none;
}

/* CTA Start Button */
.cta-start-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--button-primary);
    color: var(--button-primary-text);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow-accent);
    letter-spacing: 0.5px;
    font-weight: 600;
}

.cta-start-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px var(--shadow-accent);
}

.cta-start-btn .btn-icon {
    font-size: 1.25rem;
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    min-height: calc(100vh - 120px);
    margin-left: -280px;
    padding-left: 320px;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    position: relative;
}

/* CTA Message */
.cta-message {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 2px solid var(--card-border);
}

.cta-message h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    text-shadow: none;
    font-weight: 600;
}

.cta-message p {
    color: var(--text-accent);
    font-size: 1rem;
    text-shadow: none;
    font-weight: 500;
}

/* Roadmap Container */
.roadmap-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Simple Roadmap */
.roadmap-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    position: relative;
}

/* Lesson Nodes */
.lesson-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.roadmap-item {
    cursor: default !important;
    pointer-events: none;
}

.roadmap-item:hover {
    transform: none !important;
}

.node-circle, .node-square, .node-star {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 4px solid transparent;
    margin-bottom: 0.5rem;
    position: relative;
}

.node-circle {
    border-radius: 50%;
}

.node-square {
    border-radius: 15px;
}

.node-star {
    border-radius: 50%;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.node-circle.active, .node-square.active, .node-star.active {
    background: var(--button-primary);
    border-color: var(--accent-color);
    box-shadow: 0 12px 35px var(--shadow-accent);
    animation: magicalGlow 3s ease-in-out infinite;
}

.node-circle.locked, .node-square.locked, .node-star.locked {
    background: linear-gradient(135deg, #A8B5FF, #C8A2C8);
    border-color: #A8B5FF;
    box-shadow: 0 4px 15px rgba(168, 181, 255, 0.3);
}

.node-icon {
    font-size: 2rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.node-circle.active .node-icon, .node-square.active .node-icon, .node-star.active .node-icon {
    filter: grayscale(0%);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.node-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    text-align: center;
    text-shadow: none;
    font-weight: 600;
}

.lesson-node.active .node-label {
    color: var(--text-primary);
    font-weight: 700;
}

/* Connection Lines */
.connection-line {
    width: 4px;
    height: 40px;
    background: #A8B5FF;
    border-radius: 2px;
    transition: background 0.3s ease;
    position: relative;
}

.connection-line.completed {
    background: var(--button-primary);
    box-shadow: 0 0 15px var(--shadow-accent);
}

/* Milestone Badges */
.milestone-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #A8B5FF;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--milestone-text);
    margin: 0.5rem 0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 600;
}

.milestone-badge.unlocked {
    background: var(--button-primary);
    color: var(--button-primary-text);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px var(--shadow-accent);
}

.milestone-badge.special.unlocked {
    background: linear-gradient(135deg, #A855F7, #7C3AED);
    border-color: #A855F7;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
    color: var(--text-primary);
}

.badge-icon {
    font-size: 1.25rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.milestone-badge.unlocked .badge-icon {
    filter: grayscale(0%);
}

/* Checkpoint Styling */
.lesson-node.checkpoint .node-star {
    width: 90px;
    height: 90px;
    border-width: 5px;
}

.lesson-node.checkpoint .node-star.active {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    border-color: #FBBF24;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

/* Right Sidebar */
.right-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 350px;
    height: 100vh;
    background: var(--topbar-bg);
    backdrop-filter: blur(15px);
    border-left: 2px solid var(--card-border);
    overflow: hidden;
    z-index: 100;
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px var(--shadow-accent);
}

.right-sidebar.collapsed {
    transform: translateX(100%);
}

.sidebar-open-btn {
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: var(--button-primary);
    color: var(--button-primary-text);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 20px var(--shadow-accent);
    opacity: 0;
    pointer-events: none;
}

.sidebar-open-btn.show {
    opacity: 1;
    pointer-events: all;
}

.sidebar-open-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px var(--shadow-accent);
}

.sidebar-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--button-primary);
    color: var(--button-primary-text);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 101;
    box-shadow: 0 2px 10px var(--shadow-accent);
}

.sidebar-close-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--shadow-accent);
}

.sidebar-content {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    height: 100%;
    overflow-y: auto;
}

/* Widget Styling */
.widget {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    box-shadow: 0 8px 25px var(--shadow-accent);
    transition: all 0.3s ease;
}

.widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px var(--shadow-accent);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.widget-header h3 {
    color: var(--topbar-title);
    font-size: 1.1rem;
    margin: 0;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.goal-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.goal-content {
    flex: 1;
}

.goal-title {
    color: var(--topbar-title);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--card-border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.progress-fill {
    height: 100%;
    background: var(--button-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.goal-progress {
    font-size: 0.85rem;
    color: var(--topbar-text);
}

.writing-content {
    text-align: center;
    padding: 1rem 0;
}

.writing-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.writing-content p {
    color: var(--topbar-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Button Styles */
.btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.btn-primary {
    background: var(--button-primary);
    color: var(--button-primary-text);
    box-shadow: 0 4px 15px var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-accent);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--topbar-title);
    border: 2px solid var(--card-border);
}

.btn-secondary:hover {
    background: var(--card-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-accent);
}

.btn-icon {
    margin-right: 0.5rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid var(--card-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.notes-modal .modal-content {
    max-width: 700px;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--accent-color);
    color: var(--button-primary-text);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--shadow-accent);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.modal-header p {
    color: var(--text-accent);
    font-size: 1rem;
}

.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--card-border);
}

.modal-footer p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.modal-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-footer a:hover {
    color: var(--accent-secondary);
}

/* Email Verification Modal */
.verification-content {
    text-align: center;
}

.verification-illustration {
    font-size: 3rem;
    margin: 2rem 0;
}

.verification-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.verification-email {
    background: var(--card-border);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--accent-color);
    font-weight: 600;
    margin: 1rem 0;
    word-break: break-all;
}

.verification-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.verification-actions .btn {
    margin-bottom: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--card-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-accent);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.2);
}

.modal-btn {
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1rem;
}

/* Notes Interface */
.notes-interface {
    width: 100%;
}

.notes-editor {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid var(--card-border);
}

.notes-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.notes-actions .btn {
    flex: 1;
    margin-bottom: 0;
}

/* Priority Buttons */
.priority-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.priority-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid var(--card-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.priority-btn:hover {
    border-color: var(--accent-color);
    background: rgba(255, 217, 61, 0.1);
}

.priority-btn.selected {
    border-color: var(--accent-color);
    background: var(--button-primary);
    color: var(--button-primary-text);
}

.priority-icon {
    font-size: 1.5rem;
}

/* Write Interface Styles */
.write-interface {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.write-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2.5rem;
    border: 2px solid var(--card-border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.write-header {
    text-align: center;
    margin-bottom: 2rem;
}

.write-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.write-header h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.write-header p {
    color: var(--text-accent);
}

.form-actions {
    display: flex;
    gap: 1rem;
}

.form-actions .btn {
    flex: 1;
    margin-bottom: 0;
}

/* My Notes Interface */
.notes-interface-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.notes-header {
    text-align: center;
    margin-bottom: 3rem;
}

.notes-header h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.notes-sections {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.notes-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--card-border);
    backdrop-filter: blur(15px);
}

.notes-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    font-size: 1.5rem;
}

/* About Interface without emojis */
.about-interface {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 25px;
    border: 2px solid var(--card-border);
    backdrop-filter: blur(15px);
}

.about-content {
    display: grid;
    gap: 2rem;
}

.about-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--card-border);
}

.about-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tooltip */
.tooltip {
    position: fixed;
    background: var(--sidebar-header-bg);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* Animations */
@keyframes magicalGlow {
    0%, 100% {
        box-shadow: 0 12px 35px var(--shadow-accent);
    }
    50% {
        box-shadow: 0 15px 45px var(--shadow-accent), 0 0 25px var(--card-border);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

@keyframes celebrate {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.5) rotate(360deg);
        opacity: 0;
    }
}

@keyframes letterFly {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -200px) scale(0.5) rotate(360deg);
    }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Magic trail effect */
.magic-trail {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    animation: trailFade 1.5s ease-out forwards;
}

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}

/* Mobile Styles */
@media (max-width: 1200px) {
    .right-sidebar {
        display: none;
    }
    
    .main-content {
        margin-right: 0;
    }
    
    .hero-section {
        margin-left: -280px;
        padding-left: 320px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .hero-section {
        margin-left: 0;
        padding-left: 2rem;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .top-bar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .top-bar-right {
        flex-direction: column;
        gap: 1rem;
    }
    
    .write-interface {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .roadmap-container {
        justify-content: center;
    }
    
    .cta-message {
        margin-bottom: 2rem;
    }
    
    .modal-content {
        padding: 2rem;
        width: 95%;
    }
    
    .verification-actions {
        flex-direction: column;
    }
    
    .notes-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem;
    }
    
    .roadmap-simple {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .node-circle, .node-square, .node-star {
        width: 70px;
        height: 70px;
    }
    
    .node-icon {
        font-size: 1.8rem;
    }
    
    .connection-line {
        height: 30px;
    }
    
    .milestone-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .cta-start-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .priority-buttons {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .priority-btn {
        flex-direction: row;
        justify-content: center;
        padding: 0.75rem;
    }
}

/* Custom scrollbar */
.sidebar-content::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover,
.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* COMPLETE SIDEBAR FIX FOR ALL SCREEN SIZES */

/* Base right sidebar styles */
.right-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    background: var(--topbar-bg);
    backdrop-filter: blur(15px);
    border-left: 2px solid var(--card-border);
    overflow: hidden;
    z-index: 100;
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px var(--shadow-accent);
}

/* Desktop sizes (> 1200px) */
@media (min-width: 1201px) {
    .right-sidebar {
        width: 350px;
    }
    
    .right-sidebar.collapsed {
        transform: translateX(100%);
    }
}

/* Tablet/Medium sizes (769px - 1200px) */
@media (min-width: 769px) and (max-width: 1200px) {
    .right-sidebar {
        width: 350px;
        z-index: 1001; /* Higher z-index for medium screens */
    }
    
    .right-sidebar.collapsed {
        transform: translateX(100%);
    }
    
    /* Ensure close button works on medium screens */
    .sidebar-close-btn {
        z-index: 1002;
        pointer-events: all;
    }
}

/* Mobile sizes (≤ 768px) */
@media (max-width: 768px) {
    .right-sidebar {
        width: 100vw !important;
        z-index: 1001 !important;
    }
    
    .right-sidebar.collapsed {
        transform: translateX(100%) !important;
    }
    
    /* Ensure buttons work on mobile */
    .sidebar-close-btn,
    .sidebar-open-btn {
        z-index: 1002 !important;
        pointer-events: all !important;
    }
    
    /* Body scroll prevention */
    body.sidebar-open {
        overflow: hidden !important;
    }
}

/* Open button positioning for all screens */
.sidebar-open-btn {
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: var(--button-primary);
    color: var(--button-primary-text);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 20px var(--shadow-accent);
    opacity: 0;
    pointer-events: none;
}

.sidebar-open-btn.show {
    opacity: 1;
    pointer-events: all;
}

/* Close button - ensure it always works */
.sidebar-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--button-primary);
    color: var(--button-primary-text);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 101;
    box-shadow: 0 2px 10px var(--shadow-accent);
    pointer-events: all; /* Always clickable */
}
/* Updated Peep Bird Positioning - Keep roadmap unchanged, just add peeps beside */

/* Peep container positioning - absolute to not affect roadmap layout */
.peep-container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
}

.peep-container.peep-left {
    left: -120px; /* Position to the left of the button */
}

.peep-container.peep-right {
    right: -120px; /* Position to the right of the button */
}

/* Peep Bird sizing - even bigger */
.peep-bird {
    width: 120px !important;  /* Made even bigger */
    height: 120px !important; /* Made even bigger */
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 217, 61, 0.3));
    animation: peepBlink 3s infinite ease-in-out;
    z-index: 10;
    border-radius: 50%;
}

/* Individual peep styling with staggered animations */
.peep-bird[data-peep="1"] {
    animation-delay: 0s;
}

.peep-bird[data-peep="2"] {
    animation-delay: 0.5s;
}

.peep-bird[data-peep="3"] {
    animation-delay: 1s;
}

.peep-bird[data-peep="4"] {
    animation-delay: 1.5s;
}

.peep-bird[data-peep="5"] {
    animation-delay: 2s;
}

.peep-bird[data-peep="6"] {
    animation-delay: 2.5s;
}

/* Hover effects for peeps */
.peep-bird:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 12px rgba(255, 217, 61, 0.5));
    animation-play-state: paused;
}

.peep-bird:active {
    transform: scale(0.9);
}

/* Chirp Animation when clicked */
.peep-chirp {
    animation: peepChirp 0.6s ease-in-out !important;
}

@keyframes peepChirp {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3) rotate(-3deg);
    }
    50% {
        transform: scale(1.4) rotate(3deg);
    }
    75% {
        transform: scale(1.3) rotate(-2deg);
    }
}

/* Peep Blinking Animation */
@keyframes peepBlink {
    0%, 90%, 100% {
        opacity: 1;
    }
    95% {
        opacity: 0.3;
    }
}

/* Sparkle Effects for peep interactions */
@keyframes peepSparkle {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.2) rotate(360deg) translateY(-20px);
    }
}

/* Ensure lesson nodes are positioned properly - add relative positioning */
.lesson-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative; /* This allows absolute peeps to position relative to buttons */
}

/* Make sure roadmap rows also have relative positioning */
.roadmap-row {
    position: relative;
    margin: 1rem 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1200px) {
    .peep-container.peep-left {
        left: -100px;
    }
    
    .peep-container.peep-right {
        right: -100px;
    }
    
    .peep-bird {
        width: 70px !important;
        height: 70px !important;
    }
}

@media (max-width: 768px) {
    .peep-container.peep-left {
        left: -80px;
    }
    
    .peep-container.peep-right {
        right: -80px;
    }
    
    .peep-bird {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .peep-container.peep-left {
        left: -60px;
    }
    
    .peep-container.peep-right {
        right: -60px;
    }
    
    .peep-bird {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Fallback emoji styling for when images don't load */
.peep-fallback {
    font-size: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: peepBlink 3s infinite ease-in-out;
    width: 120px;
    height: 120px;
}

/* Peep icon styling for widget */
.peep-icon-widget {
    width: 80px;
    height: 80px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 217, 61, 0.3));
    border-radius: 50%;
    margin-bottom: 1rem;
}

.peep-icon-widget:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 217, 61, 0.5));
}

.peep-fallback-widget {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    display: none;
}

/* Peep icon styling for modals */
.peep-icon-modal {
    width: 80px;
    height: 80px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 217, 61, 0.3));
    border-radius: 50%;
    margin-bottom: 1rem;
}

.peep-icon-modal:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 217, 61, 0.5));
}

.peep-fallback-modal {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: none;
}

/* About page peep styling */
.about-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about-header-content {
    flex: 1;
}

.about-peep-container {
    position: relative;
    margin-left: 2rem;
    flex-shrink: 0;
}

.about-peep-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 217, 61, 0.3));
    border-radius: 50%;
    animation: peepBlink 3s infinite ease-in-out;
}

.about-peep-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 217, 61, 0.5));
    animation-play-state: paused;
}

.about-peep-fallback {
    font-size: 120px;
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: peepBlink 3s infinite ease-in-out;
}

/* Mobile view - make roadmap peep birds bigger */
@media (max-width: 768px) {
    .peep-bird {
        width: 80px !important;
        height: 80px !important;
    }
}

@media (max-width: 480px) {
    .peep-bird {
        width: 70px !important;
        height: 70px !important;
    }
    
    .about-peep-image {
        width: 80px;
        height: 80px;
    }
    
    .about-peep-fallback {
        font-size: 80px;
    }
    
    .about-header {
        flex-direction: column;
        text-align: center;
    }
    
    .about-peep-container {
        margin-left: 0;
        margin-top: 1rem;
        align-self: center;
    }
}

/* Remove button icons for SEND LETTER and SAVE DRAFT */
.send-letter-btn .btn-icon,
.save-draft-btn .btn-icon {
    display: none;
}

/* WRITE interface peep styling */
.write-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 217, 61, 0.3));
    border-radius: 50%;
    margin-bottom: 1rem;
}

.write-icon img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 217, 61, 0.5));
}

.write-peep-fallback {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: none;
}

/* CSS FIXES - ADD TO YOUR EXISTING STYLE.CSS */

/* Make WRITE page peep bigger */
.write-icon img {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 217, 61, 0.3));
    border-radius: 50%;
    margin-bottom: 1rem;
}

.write-icon img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 217, 61, 0.5));
}

/* Fix About page header layout */
.about-header {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.about-header-content {
    flex: 1;
    max-width: calc(100% - 140px); /* Reserve space for peep */
}

.about-header-content h2 {
    margin-bottom: 1rem;
}

.about-header-content p {
    margin-bottom: 0;
}

.about-peep-container {
    position: absolute;
    top: 0;
    right: 0;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* My Notes page peep styling */
.notes-header {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .about-header-content {
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .about-peep-container {
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto;
    }
}

.write-icon img {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 217, 61, 0.3));
    border-radius: 50%;
    margin-bottom: 1rem;
}

.write-icon img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 217, 61, 0.5));
}

/* Fix About page header layout */
.about-header {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.about-header-content {
    flex: 1;
    max-width: calc(100% - 140px); /* Reserve space for peep */
}

.about-header-content h2 {
    margin-bottom: 1rem;
}

.about-header-content p {
    margin-bottom: 0;
}

.about-peep-container {
    position: absolute;
    top: 0;
    right: 0;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* My Notes page peep styling - ABOVE My Notes title */
.notes-header {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}


/* Make modal peep icons bigger */
.peep-icon-modal {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 217, 61, 0.3));
    border-radius: 50%;
    margin-bottom: 1rem;
}

.peep-icon-modal:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 12px rgba(255, 217, 61, 0.5));
}

.peep-icon-modal:active {
    transform: scale(0.9);
}

.peep-fallback-modal {
    font-size: 120px !important;
    margin-bottom: 1rem;
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.peep-fallback-modal:hover {
    transform: scale(1.2);
}

.peep-fallback-modal:active {
    transform: scale(0.9);
}

/* Peep chirp animation for responsive clicks */
.peep-chirp {
    animation: peepChirp 0.6s ease-in-out !important;
}

@keyframes peepChirp {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3) rotate(-3deg);
    }
    50% {
        transform: scale(1.4) rotate(3deg);
    }
    75% {
        transform: scale(1.3) rotate(-2deg);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .about-header-content {
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .about-peep-container {
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto;
    }
    
    .peep-icon-modal {
        width: 100px !important;
        height: 100px !important;
    }
    
    .peep-fallback-modal {
        font-size: 100px !important;
    }
}
/* My Notes page peep styling - bigger size for ALL screens */
.notes-header {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

/* Desktop/Default size - bigger peep */
.notes-header .peep-icon-modal,
.notes-header .notes-peep-image,
.notes-header img[src*="peep"] {
    width: 140px !important;
    height: 140px !important;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 217, 61, 0.3));
    border-radius: 50%;
    margin-bottom: 1rem;
    animation: peepBlink 3s infinite ease-in-out;
}

.notes-header .peep-icon-modal:hover,
.notes-header .notes-peep-image:hover,
.notes-header img[src*="peep"]:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 217, 61, 0.5));
    animation-play-state: paused;
}

.notes-header .peep-icon-modal:active,
.notes-header .notes-peep-image:active,
.notes-header img[src*="peep"]:active {
    transform: scale(0.9);
}

/* HIDE all emoji fallbacks for My Notes */
.notes-header .peep-fallback-modal,
.notes-header .notes-peep-fallback {
    display: none !important;
}

/* Mobile responsive adjustments for My Notes peep */
@media (max-width: 768px) {
    .notes-header .peep-icon-modal,
    .notes-header .notes-peep-image,
    .notes-header img[src*="peep"] {
        width: 100px !important;
        height: 100px !important;
    }
}

@media (max-width: 480px) {
    .notes-header .peep-icon-modal,
    .notes-header .notes-peep-image,
    .notes-header img[src*="peep"] {
        width: 80px !important;
        height: 80px !important;
    }
}

.loading-modal .modal-content {
    max-width: 400px;
    text-align: center;
}

.loading-spinner {
    font-size: 2rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Auth Status Styles */
.auth-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    border: 2px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.user-name {
    color: var(--topbar-title);
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    margin-bottom: 0;
}

/* User Profile Widget */
.widget.user-profile {
    background: var(--card-bg);
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 25px var(--shadow-accent);
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.user-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid var(--card-border);
}

.user-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.user-stats .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Profile Interface */
.profile-interface {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 25px;
    border: 2px solid var(--card-border);
    backdrop-filter: blur(15px);
}

.profile-header h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.profile-content {
    display: grid;
    gap: 2rem;
}

.profile-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--card-border);
    backdrop-filter: blur(15px);
}

.profile-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stats-grid .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--card-border);
    transition: all 0.3s ease;
}

.stats-grid .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-accent);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-options {
    display: grid;
    gap: 1rem;
}

.settings-options .btn {
    margin-bottom: 0;
    text-align: left;
    justify-content: flex-start;
}

/* Enhanced Login Required Message */
.login-required {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: 25px;
    border: 2px solid var(--card-border);
    backdrop-filter: blur(15px);
    max-width: 600px;
    margin: 0 auto;
}

.login-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.login-required h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.login-required p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.login-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.login-actions .btn {
    flex: 1;
    margin-bottom: 0;
}

/* Speech Bubble Animations */
@keyframes speechBubbleAppear {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
}

@keyframes speechBubbleDisappear {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-50%) scale(0.8);
    }
}

/* Peep Sparkle Animation */
@keyframes peepSparkle {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.2) rotate(360deg) translateY(-20px);
    }
}

/* Enhanced Error States */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.error-message {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message::before {
    content: '⚠️';
}

/* Success States */
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.success-message {
    color: #10B981;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message::before {
    content: '✅';
}

/* Mobile Responsive Adjustments for Auth */
@media (max-width: 768px) {
    .auth-status {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .login-actions {
        flex-direction: column;
    }
    
    .user-stats {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-interface {
        padding: 1rem;
    }
    
    .profile-header {
        padding: 1.5rem;
    }
    
    .profile-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .login-required {
        padding: 2rem 1rem;
    }
    
    .login-required h2 {
        font-size: 1.5rem;
    }
    
    .login-required p {
        font-size: 1rem;
    }
}

.cta-start-btn.original-cta {
    background: var(--button-primary) !important;
    color: var(--button-primary-text) !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 25px !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 25px var(--shadow-accent) !important;
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    backdrop-filter: blur(10px) !important;
}

.cta-start-btn.original-cta:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 35px var(--shadow-accent) !important;
}

.cta-start-btn.original-cta .btn-icon {
    font-size: 1.25rem !important;
}

/* Fix top bar user greeting text */
.user-greeting {
    color: var(--topbar-title) !important; /* Use dark text instead of white */
    font-weight: 600;
    font-size: 0.9rem;
}

/* Fix user profile widget text in sidebar */
.user-profile-widget h3,
.user-profile-widget .widget-header h3 {
    color: var(--topbar-title) !important; /* Dark text for better contrast */
}

.user-profile-widget .widget-content,
.user-profile-widget .profile-summary {
    color: var(--topbar-text) !important; /* Dark secondary text */
}

.user-profile-widget .mini-stat-label,
.user-profile-widget .mini-stat-number {
    color: var(--topbar-title) !important; /* Dark text for stats */
}

/* Fix general sidebar widget text contrast */
.widget h3,
.widget .widget-header h3 {
    color: var(--topbar-title) !important;
}

.widget .widget-content p {
    color: var(--topbar-text) !important;
}

/* Specific fix for profile summary stats */
.profile-stats-mini .mini-stat {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
}

.mini-stat-number {
    color: var(--accent-color) !important;
    font-weight: 700;
    font-size: 1.2rem;
}

.mini-stat-label {
    color: var(--topbar-text) !important;
    font-size: 0.8rem;
}

/* Fix user info in top bar */
.user-info-topbar .user-name-btn {
    background: rgba(255, 255, 255, 0.95) !important; /* More opaque background */
    border: 2px solid var(--card-border) !important;
}

.user-info-topbar .user-greeting {
    color: var(--topbar-title) !important; /* Dark text */
}

.user-info-topbar .settings-icon {
    color: var(--topbar-text) !important; /* Dark icon */
}

/* Enhanced contrast for all sidebar text */
.sidebar-content .widget {
    background: rgba(255, 255, 255, 0.95) !important; /* More opaque background */
}

.sidebar-content .widget h3,
.sidebar-content .widget h4 {
    color: var(--topbar-title) !important;
}

.sidebar-content .widget p,
.sidebar-content .widget .widget-content {
    color: var(--topbar-text) !important;
}

/* Fix for specific profile widget styling */
.create-profile-widget h3,
.user-profile-widget h3 {
    color: var(--topbar-title) !important;
}

.create-profile-widget p,
.user-profile-widget p {
    color: var(--topbar-text) !important;
}

/* Light theme adjustments */
.light-theme .user-greeting {
    color: #154B77 !important;
}

.light-theme .settings-icon {
    color: #2970A3 !important;
}

.light-theme .mini-stat-number {
    color: #4798C7 !important;
}

.light-theme .mini-stat-label {
    color: #1E5F8B !important;
}