@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.toast{display:flex;align-items:flex-start;gap:1rem;padding:1rem;border-radius:.75rem;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.2);box-shadow:0 8px 32px #0000001a;min-width:320px;max-width:480px;margin-bottom:1rem;animation:slideIn .3s ease-out;position:relative;overflow:hidden}.toast:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;animation:progress 4s linear}.toast-success{background:#4caf501a;color:#4caf50}.toast-success:before{background:#4caf50}.toast-error{background:#f443361a;color:#f44336}.toast-error:before{background:#f44336}.toast-warning{background:#ff98001a;color:#ff9800}.toast-warning:before{background:#ff9800}.toast-info{background:#2196f31a;color:#2196f3}.toast-info:before{background:#2196f3}.toast-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0;margin-top:.1rem}.toast-content{flex:1}.toast-title{font-weight:600;font-size:.95rem;margin-bottom:.25rem}.toast-message{font-size:.85rem;opacity:.9;line-height:1.4}.toast-close{width:24px;height:24px;border:none;background:#ffffff1a;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:currentColor;font-size:.8rem;flex-shrink:0}.toast-close:hover{background:#fff3;transform:scale(1.1)}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes progress{0%{width:100%}to{width:0%}}.toast-container{position:fixed;top:2rem;right:2rem;z-index:9999;pointer-events:none}.toast-container .toast{pointer-events:all}@media (max-width: 768px){.toast-container{top:1rem;right:1rem;left:1rem}.toast{min-width:unset;width:100%}}.login-page{background-image:url(/assets/image-CrsSBZSO.jpg);background-size:cover;background-position:center;height:100vh;display:flex;justify-content:center;align-items:center;font-family:Inter,sans-serif}.login-container{background-color:#fff;border-radius:24px;padding:40px 50px;box-shadow:0 10px 40px #0000001a;width:420px;text-align:left}.login-box{width:100%;text-align:left}.login-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.header-icon{font-size:20px;border:1px solid #e0e0e0;border-radius:50%;width:40px;height:40px;display:flex;justify-content:center;align-items:center;color:#333}h1{font-size:32px;font-weight:700;margin-bottom:10px;text-align:left}p{color:#666;margin-bottom:30px;text-align:left;font-size:16px}.toggle-password{position:absolute;top:50%;right:20px;transform:translateY(-50%);cursor:pointer;color:#999}.forgot-password{display:block;text-align:right;margin-bottom:25px;color:#333;text-decoration:none;font-size:14px;font-weight:500}.get-started-btn{width:100%;padding:18px;border:none;border-radius:12px;background-color:#212121;color:#fff;font-size:16px;font-weight:600;cursor:pointer;margin-bottom:20px}.login-box p{text-align:center;margin-top:20px}.login-box a{color:#333;text-decoration:none;font-weight:600}.or-divider{display:flex;align-items:center;text-align:center;color:#999;margin-bottom:20px}.or-divider:before,.or-divider:after{content:"";flex:1;border-bottom:1px solid #ddd}.or-divider:not(:empty):before{margin-right:.25em}.or-divider:not(:empty):after{margin-left:.25em}.social-login{display:flex;justify-content:center;gap:20px}.social-btn{width:60px;height:40px;border:1px solid #ddd;border-radius:10px;background-color:#fff;cursor:pointer;font-size:20px}.social-btn.google{color:#db4437}.social-btn.facebook{color:#3b5998}.social-btn.apple{color:#000}.test-credentials-note{position:absolute;top:20px;right:20px;background-color:#ffffffe6;padding:15px;border-radius:10px;box-shadow:0 5px 15px #0000001a;width:250px;z-index:10}.test-credentials-note h3{margin-top:0;margin-bottom:10px;font-size:16px;font-weight:600;text-align:left}.test-credentials-note p{margin:5px 0;font-size:14px;text-align:left}.signup-page{background-image:url(/assets/image-CrsSBZSO.jpg);background-size:cover;background-position:center;height:100vh;display:flex;justify-content:center;align-items:center;font-family:Inter,sans-serif}.signup-container{background-color:#fff;border-radius:24px;padding:40px 50px;box-shadow:0 10px 40px #0000001a;width:420px;text-align:left}.signup-header{margin-bottom:25px}.logo{font-size:24px;font-weight:600}.signup-box h1{font-size:32px;font-weight:700;margin-bottom:10px;text-align:left}.signup-box p{color:#666;margin-bottom:30px;text-align:left;font-size:16px}.input-group{position:relative;margin-bottom:20px}.input-group input::placeholder{color:#999}.input-group input:focus{outline:none;border-color:#333}.signup-btn{width:100%;padding:18px;border:none;border-radius:12px;background-color:#212121;color:#fff;font-size:16px;font-weight:600;cursor:pointer;margin-top:10px}.signup-btn:disabled{background-color:#ccc;cursor:not-allowed}.message{margin-top:20px;padding:15px;border-radius:8px;background-color:#e8f5e8;border:1px solid #4caf50;color:#2e7d32;text-align:center;font-size:14px}.signup-box p{text-align:center;margin-top:20px}.signup-box a{color:#333;text-decoration:none;font-weight:600}.calendar-container.loading{opacity:.7}.calendar-skeleton{animation:pulse 1.5s ease-in-out infinite alternate}.skeleton-header{height:60px;background:#ffffff1a;border-radius:.5rem;margin-bottom:1rem}.skeleton-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:.5rem}.skeleton-day{height:60px;background:#ffffff0d;border-radius:.25rem}@keyframes pulse{0%{opacity:.6}to{opacity:1}}.calendar-container{width:100%}.calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.month-year{font-size:1.5rem;font-weight:600;color:#2d3748;margin:0}.nav-btn{width:40px;height:40px;border:none;background:#f7fafc;color:#4a5568;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.nav-btn:hover{background:#667eea;color:#fff}.calendar-grid{border-radius:16px;overflow:hidden;border:1px solid #e2e8f0}.weekdays{display:grid;grid-template-columns:repeat(7,1fr);background:#f7fafc}.weekday{padding:1rem;text-align:center;font-weight:600;color:#4a5568;font-size:.875rem;border-right:1px solid #e2e8f0}.weekday:last-child{border-right:none}.days-grid{display:grid;grid-template-columns:repeat(7,1fr)}.calendar-day{min-height:80px;padding:.5rem;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;cursor:pointer;position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;transition:all .2s ease;background:#fff;border-left:4px solid transparent}.calendar-day:nth-child(7n){border-right:none}.calendar-day:hover{background:#f7fafc;transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.calendar-day.empty{background:#f8f9fa;cursor:default}.calendar-day.empty:hover{background:#f8f9fa;transform:none;box-shadow:none}.calendar-day.today{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.calendar-day.today .day-number{color:#fff;font-weight:700}.calendar-day.selected{background:#e6fffa;border-left-color:#38b2ac}.calendar-day.has-entry{border-left-width:4px}.day-number{font-weight:500;color:#2d3748;font-size:1rem}.entry-indicator{width:6px;height:6px;background:#38b2ac;border-radius:50%;margin-top:auto;align-self:center}.calendar-day.today .entry-indicator{background:#fff}@media (max-width: 768px){.calendar-day{min-height:60px;padding:.25rem}.day-number{font-size:.875rem}.weekday{padding:.75rem .5rem;font-size:.75rem}.month-year{font-size:1.25rem}.nav-btn{width:35px;height:35px}}.mood-sidebar{background:#fff;border-radius:20px;padding:1.5rem;box-shadow:0 10px 40px #0000001a;height:fit-content}.sidebar-header h3{font-size:1.25rem;font-weight:700;color:#2d3748;margin:0 0 .5rem}.sidebar-header p{color:#718096;font-size:.875rem;margin:0 0 1.5rem}.mood-stats{margin-bottom:2rem}.stats-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.stats-header h4{font-size:1rem;font-weight:600;color:#2d3748;margin:0}.total-entries{background:#edf2f7;color:#4a5568;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:500}.mood-list{display:flex;flex-direction:column;gap:.75rem}.mood-item{display:grid;grid-template-columns:1fr 60px 40px;align-items:center;gap:.75rem}.mood-info{display:flex;align-items:center;gap:.5rem}.mood-emoji{font-size:1.25rem}.mood-name{font-weight:500;color:#2d3748;font-size:.875rem}.mood-count{background:#f7fafc;color:#4a5568;padding:.125rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500;margin-left:auto}.mood-bar{height:6px;background:#edf2f7;border-radius:3px;overflow:hidden}.mood-progress{height:100%;border-radius:3px;transition:width .3s ease}.mood-percentage{font-size:.75rem;color:#718096;font-weight:500;text-align:right}.quick-insights{border-top:1px solid #edf2f7;padding-top:1.5rem}.quick-insights h4{font-size:1rem;font-weight:600;color:#2d3748;margin:0 0 1rem}.insight-cards{display:flex;flex-direction:column;gap:.75rem}.insight-card{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#f7fafc;border-radius:12px;transition:all .2s ease}.insight-card:hover{background:#edf2f7}.insight-icon{font-size:1.5rem}.insight-content{display:flex;flex-direction:column}.insight-title{font-size:.75rem;color:#718096;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.insight-value{font-size:.875rem;color:#2d3748;font-weight:600}@media (max-width: 768px){.mood-sidebar{padding:1rem}.mood-item{grid-template-columns:1fr 50px 35px;gap:.5rem}.insight-card{padding:.75rem}}.settings-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.settings-modal{background:#fff;border-radius:1rem;width:100%;max-width:600px;max-height:90vh;overflow:hidden;box-shadow:0 20px 40px #0000004d;display:flex;flex-direction:column}.settings-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #edf2f7;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.settings-header h2{margin:0;font-size:1.5rem;font-weight:600}.settings-content{flex:1;overflow-y:auto;padding:1.5rem}.settings-loading{display:flex;flex-direction:column;align-items:center;padding:3rem;color:#666}.settings-section{margin-bottom:2rem}.section-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid #edf2f7}.section-header h3{margin:0;font-size:1.1rem;font-weight:600;color:#2d3748}.section-header svg{color:#667eea;font-size:1rem}.setting-item{margin-bottom:1.5rem}.setting-item label{display:block;margin-bottom:.5rem;font-weight:500;color:#4a5568}.checkbox-label{display:flex!important;align-items:center;gap:.5rem;cursor:pointer}.checkbox-label input[type=checkbox]{margin:0}.checkbox-label span{font-weight:500;color:#2d3748}.setting-item input,.setting-item select{width:100%;padding:.75rem;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.9rem;transition:border-color .3s ease,box-shadow .3s ease}.setting-item input:focus,.setting-item select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.setting-item input[type=checkbox]{width:auto;margin:0}.setting-item input[type=time]{width:auto;min-width:150px}.setting-description{font-size:.85rem;color:#718096;margin:.5rem 0 0;line-height:1.4}.settings-footer{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem;border-top:1px solid #edf2f7;background:#f7fafc}@media (max-width: 768px){.settings-modal{margin:0;border-radius:0;max-height:100vh}.settings-content{padding:1rem}.settings-footer{padding:1rem;flex-direction:column}.cancel-btn,.save-btn{width:100%}}.profile-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.profile-modal{background:#fff;border-radius:1rem;width:100%;max-width:500px;max-height:90vh;overflow:hidden;box-shadow:0 20px 40px #0000004d;display:flex;flex-direction:column}.profile-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #edf2f7;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.profile-header h2{margin:0;font-size:1.5rem;font-weight:600}.close-btn{background:#fff3;border:none;border-radius:.5rem;color:#fff;padding:.5rem;cursor:pointer;transition:background .3s ease}.close-btn:hover{background:#ffffff4d}.profile-content{flex:1;overflow-y:auto;padding:1.5rem}.profile-loading{display:flex;flex-direction:column;align-items:center;padding:3rem;color:#666}.spinner{width:40px;height:40px;border:3px solid #edf2f7;border-top:3px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.avatar-section{text-align:center;margin-bottom:2rem}.avatar-container{position:relative;display:inline-block}.avatar-image,.avatar-placeholder{width:100px;height:100px;border-radius:50%;border:3px solid #667eea;object-fit:cover}.avatar-placeholder{background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-size:2rem}.upload-avatar-btn{position:absolute;bottom:0;right:0;width:30px;height:30px;border-radius:50%;background:#667eea;border:2px solid white;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.8rem;transition:background .3s ease}.upload-avatar-btn:hover{background:#5a67d8}.profile-info{margin-bottom:2rem}.info-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.info-header h3{margin:0;font-size:1.2rem;font-weight:600;color:#2d3748}.edit-btn{background:#667eea;color:#fff;border:none;padding:.5rem 1rem;border-radius:.5rem;cursor:pointer;font-size:.9rem;display:flex;align-items:center;gap:.5rem;transition:background .3s ease}.edit-btn:hover{background:#5a67d8}.info-grid{display:grid;gap:1.5rem}.info-item label{display:block;font-weight:500;color:#4a5568;margin-bottom:.5rem;font-size:.9rem}.info-value{padding:.75rem;background:#f7fafc;border-radius:.5rem;color:#2d3748;border:1px solid #e2e8f0}.info-item input{width:100%;padding:.75rem;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.9rem;transition:border-color .3s ease,box-shadow .3s ease}.info-item input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.email-container{display:flex;align-items:center;gap:1rem}.email-status{font-size:.8rem;padding:.25rem .5rem;border-radius:.25rem;font-weight:500}.email-status.confirmed{background:#c6f6d5;color:#22543d}.email-status.unconfirmed{background:#fed7d7;color:#742a2a}.account-stats h3{margin:0 0 1rem;font-size:1.2rem;font-weight:600;color:#2d3748}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.stat-item{background:#f7fafc;padding:1rem;border-radius:.5rem;border:1px solid #e2e8f0;display:flex;align-items:center;gap:.75rem}.stat-icon{width:40px;height:40px;border-radius:.5rem;background:#667eea;color:#fff;display:flex;align-items:center;justify-content:center}.stat-content{flex:1}.stat-value{font-weight:600;color:#2d3748;font-size:.9rem}.stat-label{font-size:.8rem;color:#718096}.profile-footer{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem;border-top:1px solid #edf2f7;background:#f7fafc}.cancel-btn,.save-btn{padding:.75rem 1.5rem;border:none;border-radius:.5rem;font-weight:500;cursor:pointer;transition:all .3s ease}.cancel-btn{background:#e2e8f0;color:#4a5568}.cancel-btn:hover{background:#cbd5e0}.save-btn{background:#667eea;color:#fff;display:flex;align-items:center;gap:.5rem}.save-btn:hover:not(:disabled){background:#5a67d8}.save-btn:disabled{opacity:.6;cursor:not-allowed}.profile-error{text-align:center;padding:3rem;color:#e53e3e}@media (max-width: 768px){.profile-modal{margin:0;border-radius:0;max-height:100vh}.profile-content{padding:1rem}.stats-grid{grid-template-columns:1fr}.email-container{flex-direction:column;align-items:flex-start;gap:.5rem}.profile-footer{padding:1rem;flex-direction:column}.cancel-btn,.save-btn{width:100%}}.diary-page{font-family:Inter,sans-serif;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.diary-header{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 20px #0000001a;border-bottom:1px solid rgba(255,255,255,.2)}.header-left .app-title{font-size:1.8rem;font-weight:700;color:#2d3748;margin:0}.diary-content{display:grid;grid-template-columns:1fr 350px;gap:2rem;padding:2rem;min-height:calc(100vh - 80px)}.calendar-section{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 10px 40px #0000001a}.section-header h2{font-size:1.8rem;font-weight:700;color:#2d3748;margin:0 0 .5rem}.section-header p{color:#718096;margin:0 0 2rem}@media (max-width: 1024px){.diary-content{grid-template-columns:1fr;gap:1.5rem}.header-nav{display:none}}@media (max-width: 768px){.diary-header{padding:1rem}.header-left .app-title{font-size:1.5rem}.diary-content{padding:1rem}.calendar-section{padding:1.5rem}}.diary-entry-page{font-family:Inter,sans-serif;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column}.diary-header{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 20px #0000001a;border-bottom:1px solid rgba(255,255,255,.2);position:sticky;top:0;z-index:100}.header-left{display:flex;align-items:center;gap:1rem}.back-btn{width:40px;height:40px;border:none;background:#667eea1a;color:#667eea;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.back-btn:hover{background:#667eea;color:#fff}.app-title{font-size:1.8rem;font-weight:700;color:#2d3748;margin:0}.header-nav{display:flex;gap:1rem}.nav-item{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;background:transparent;color:#718096;font-weight:500;border-radius:12px;cursor:pointer;transition:all .2s ease}.nav-item:hover{background:#667eea1a;color:#667eea}.nav-item.active{background:#667eea;color:#fff}.header-btn{width:40px;height:40px;border:none;background:#2d37481a;color:#4a5568;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.header-btn:hover{background:#2d374833;color:#2d3748}.entry-content{flex:1;padding:2rem;overflow-y:auto}.entry-content::-webkit-scrollbar{width:8px}.entry-content::-webkit-scrollbar-track{background:#ffffff1a;border-radius:4px}.entry-content::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:4px}.entry-content::-webkit-scrollbar-thumb:hover{background:#ffffff80}.entry-container{max-width:1200px;margin:0 auto;background:#fff;border-radius:24px;padding:2.5rem;box-shadow:0 20px 60px #0000001a}.entry-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2.5rem;padding-bottom:1.5rem;border-bottom:2px solid #f7fafc}.date-section h2{font-size:2rem;font-weight:700;color:#2d3748;margin:0 0 .5rem}.entry-date{color:#718096;font-size:1.1rem;margin:0;font-weight:500}.save-btn{display:flex;align-items:center;gap:.75rem;padding:1rem 2rem;border:none;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:16px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s ease;box-shadow:0 4px 15px #667eea4d}.save-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px #667eea66}.save-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.entry-form{display:flex;flex-direction:column;gap:2.5rem}.form-row{display:grid;gap:2rem}.form-section{display:flex;flex-direction:column;gap:1rem}.form-section label{font-weight:600;color:#2d3748;font-size:1.1rem}.title-section{grid-column:1 / -1}.entry-title-input{padding:1.25rem 1.5rem;border:2px solid #edf2f7;border-radius:16px;font-size:1.1rem;font-weight:500;transition:all .2s ease;background:#fafafa}.entry-title-input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.mood-section{flex:2}.mood-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem}.mood-card{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:1.5rem 1rem;border:2px solid #edf2f7;border-radius:16px;background:#fff;cursor:pointer;transition:all .2s ease}.mood-card:hover{border-color:#cbd5e0;background:#f7fafc;transform:translateY(-2px)}.mood-card.selected{background:#f0f4ff;transform:translateY(-2px);box-shadow:0 8px 25px #667eea26}.mood-emoji{font-size:2rem}.mood-label{font-size:.95rem;font-weight:500;color:#4a5568}.mood-card.selected .mood-label{color:#667eea;font-weight:600}.mood-reason-section{flex:1;animation:fadeInUp .3s ease}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.mood-reason-input{padding:1rem 1.5rem;border:2px solid #edf2f7;border-radius:16px;font-size:1rem;font-family:inherit;resize:vertical;transition:all .2s ease;background:#fafafa}.mood-reason-input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.content-section{grid-column:1 / -1}.entry-content-textarea{padding:1.5rem;border:2px solid #edf2f7;border-radius:16px;font-size:1rem;font-family:inherit;resize:vertical;min-height:200px;transition:all .2s ease;background:#fafafa;line-height:1.6}.entry-content-textarea:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.entry-content-textarea::-webkit-scrollbar{width:8px}.entry-content-textarea::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.entry-content-textarea::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}.entry-content-textarea::-webkit-scrollbar-thumb:hover{background:#a0aec0}@media (max-width: 1024px){.entry-container{padding:2rem}.mood-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}}@media (max-width: 768px){.diary-header{padding:1rem}.header-nav{display:none}.entry-content{padding:1rem}.entry-container{padding:1.5rem}.entry-header{flex-direction:column;gap:1rem;align-items:stretch}.mood-grid{grid-template-columns:repeat(2,1fr)}.date-section h2,.app-title{font-size:1.5rem}}.analytics-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);font-family:Inter,sans-serif;color:#fff}.diary-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.2)}.header-left .app-title{margin:0;font-size:1.5rem;font-weight:700;color:#fff}.header-nav{display:flex;gap:.5rem}.nav-item{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#ffffff1a;border:none;border-radius:.5rem;color:#fffc;font-size:.9rem;cursor:pointer;transition:all .3s ease}.nav-item:hover,.nav-item.active{background:#fff3;color:#fff}.header-right{display:flex;gap:.5rem}.header-btn{padding:.5rem;background:#ffffff1a;border:none;border-radius:.5rem;color:#fff;cursor:pointer;transition:all .3s ease}.header-btn:hover{background:#fff3}.analytics-content{padding:2rem;max-width:1400px;margin:0 auto}.analytics-header{text-align:center;margin-bottom:3rem}.analytics-header h2{font-size:2.5rem;font-weight:700;color:#fff;margin:0 0 .5rem}.analytics-header p{font-size:1.1rem;color:#fffc;margin:0 0 2rem}.timeframe-filter{display:flex;justify-content:center;gap:.5rem;margin-top:1.5rem}.timeframe-filter button{padding:.75rem 1.5rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:.5rem;color:#fffc;cursor:pointer;transition:all .3s ease;font-weight:500}.timeframe-filter button:hover,.timeframe-filter button.active{background:#fff3;border-color:#fff6;color:#fff}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:3rem}.stat-card{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:1rem;padding:1.5rem;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;gap:1rem;transition:transform .3s ease,box-shadow .3s ease}.stat-card:hover{transform:translateY(-5px);box-shadow:0 10px 30px #0003}.stat-icon{width:60px;height:60px;background:#fff3;border-radius:1rem;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#fff}.stat-content h3{font-size:2rem;font-weight:700;color:#fff;margin:0}.stat-content p{font-size:.9rem;color:#fffc;margin:0}.charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:2rem;margin-bottom:3rem}.chart-card{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:1rem;padding:1.5rem;border:1px solid rgba(255,255,255,.2)}.chart-card h3{font-size:1.2rem;font-weight:600;color:#fff;margin:0 0 1rem;text-align:center}.chart-container{height:300px;position:relative}.insights-section{margin-top:3rem}.insights-section h3{font-size:1.8rem;font-weight:600;color:#fff;margin-bottom:1.5rem;text-align:center}.insights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.insight-card{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:1rem;padding:1.5rem;border:1px solid rgba(255,255,255,.2);transition:transform .3s ease}.insight-card:hover{transform:translateY(-3px)}.insight-card h4{font-size:1.1rem;font-weight:600;color:#fff;margin:0 0 .5rem}.insight-card p{font-size:.95rem;color:#fffc;margin:0;line-height:1.5}@media (max-width: 768px){.diary-header{flex-direction:column;gap:1rem;padding:1rem}.header-nav{order:1;width:100%;justify-content:space-around}.nav-item{flex:1;justify-content:center;font-size:.8rem;padding:.4rem .8rem}.analytics-content{padding:1rem}.analytics-header h2{font-size:2rem}.timeframe-filter{flex-wrap:wrap;gap:.25rem}.timeframe-filter button{padding:.5rem 1rem;font-size:.9rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.stat-card{padding:1rem}.charts-grid{grid-template-columns:1fr;gap:1.5rem}.chart-card{padding:1rem}.chart-container{height:250px}.insights-grid{grid-template-columns:1fr;gap:1rem}}.goals-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);font-family:Inter,sans-serif}.goals-content{padding:2rem;max-width:1400px;margin:0 auto}.goals-header{text-align:center;margin-bottom:3rem}.goals-header h2{font-size:2.5rem;font-weight:700;color:#fff;margin:0 0 .5rem}.goals-header p{font-size:1.1rem;color:#fffc;margin:0 0 2rem}.create-goal-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#fff3;border:none;border-radius:.75rem;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.create-goal-btn:hover{background:#ffffff4d;transform:translateY(-2px)}.goals-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem}.goal-card{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:1rem;padding:1.5rem;border:1px solid rgba(255,255,255,.2);transition:transform .3s ease,box-shadow .3s ease}.goal-card:hover{transform:translateY(-5px);box-shadow:0 10px 30px #0003}.goal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.goal-header h3{font-size:1.3rem;font-weight:600;color:#fff;margin:0;flex:1}.goal-actions{display:flex;gap:.5rem}.action-btn{width:32px;height:32px;border:none;border-radius:.5rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.8rem}.action-btn.edit{background:#2196f3cc}.action-btn.edit:hover{background:#2196f3}.action-btn.pause{background:#ff9800cc}.action-btn.pause:hover{background:#ff9800}.action-btn.play{background:#4caf50cc}.action-btn.play:hover{background:#4caf50}.action-btn.complete{background:#4caf50cc}.action-btn.complete:hover{background:#4caf50}.action-btn.delete{background:#f44336cc}.action-btn.delete:hover{background:#f44336}.goal-description{color:#fffc;font-size:.9rem;line-height:1.5;margin-bottom:1rem}.goal-meta{display:flex;gap:.5rem;margin-bottom:1.5rem}.goal-type{padding:.25rem .75rem;background:#fff3;border-radius:1rem;color:#fff;font-size:.8rem;font-weight:600}.goal-status{padding:.25rem .75rem;border-radius:1rem;color:#fff;font-size:.8rem;font-weight:600;text-transform:capitalize}.progress-section{margin-bottom:1rem}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;color:#fff;font-size:.9rem;font-weight:600}.progress-bar{width:100%;height:8px;background:#fff3;border-radius:4px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,#4caf50,#8bc34a);border-radius:4px;transition:width .3s ease}.progress-percentage{text-align:center;color:#fff;font-size:.8rem;font-weight:600}.progress-controls{display:flex;align-items:center;justify-content:center;gap:1rem;margin-bottom:1rem}.progress-btn{width:32px;height:32px;border:none;border-radius:50%;background:#fff3;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.progress-btn:hover{background:#ffffff4d;transform:scale(1.1)}.progress-controls span{color:#fff;font-weight:600;min-width:40px;text-align:center}.goal-date{text-align:center;color:#ffffffb3;font-size:.8rem;font-style:italic}.empty-state{grid-column:1 / -1;text-align:center;padding:3rem;color:#fffc}.empty-state svg{color:#ffffff80;margin-bottom:1rem}.empty-state h3{font-size:1.5rem;font-weight:600;color:#fff;margin:0 0 .5rem}.empty-state p{font-size:1rem;margin:0 0 2rem}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal-content{background:#ffffff1a;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:1rem;padding:2rem;width:90%;max-width:500px;border:1px solid rgba(255,255,255,.2)}.modal-content h3{color:#fff;font-size:1.5rem;font-weight:600;margin:0 0 1.5rem;text-align:center}.form-group{margin-bottom:1rem}.form-group label{display:block;color:#fff;font-size:.9rem;font-weight:600;margin-bottom:.5rem}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid rgba(255,255,255,.3);border-radius:.5rem;background:#ffffff1a;color:#fff;font-size:.9rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.form-group input::placeholder,.form-group textarea::placeholder{color:#ffffffb3}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#ffffff80;background:#ffffff26}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem}.modal-actions button{padding:.75rem 1.5rem;border:none;border-radius:.5rem;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease}.modal-actions button[type=button]{background:#fff3;color:#fff}.modal-actions button[type=button]:hover{background:#ffffff4d}.modal-actions button[type=submit]{background:#4caf50cc;color:#fff}.modal-actions button[type=submit]:hover{background:#4caf50}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:50vh;color:#fff}.spinner{width:50px;height:50px;border:3px solid rgba(255,255,255,.3);border-top:3px solid white;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@media (max-width: 768px){.goals-content{padding:1rem}.goals-header h2{font-size:2rem}.goals-grid{grid-template-columns:1fr;gap:1.5rem}.goal-card{padding:1rem}.goal-header{flex-direction:column;gap:1rem}.goal-actions{justify-content:center}.form-row{grid-template-columns:1fr}.modal-content{padding:1.5rem;margin:1rem}.modal-actions{flex-direction:column}.modal-actions button{width:100%}}.forgot-password-page{background-image:url(/assets/image-CrsSBZSO.jpg);background-size:cover;background-position:center;height:100vh;display:flex;justify-content:center;align-items:center;font-family:Inter,sans-serif}.forgot-password-container{background-color:#fff;border-radius:24px;padding:40px 50px;box-shadow:0 10px 40px #0000001a;width:420px;text-align:left}.forgot-password-box .logo{font-size:24px;font-weight:600;margin-bottom:25px}.forgot-password-box h1{font-size:32px;font-weight:700;margin-bottom:10px}.forgot-password-box p{color:#666;margin-bottom:30px;font-size:16px}.reset-btn{width:100%;padding:18px;border:none;border-radius:12px;background-color:#212121;color:#fff;font-size:16px;font-weight:600;cursor:pointer}.message{margin-top:20px;text-align:center}.forgot-password-box p:last-child{text-align:center;margin-top:20px}.reset-password-page{background-image:url(/assets/image-CrsSBZSO.jpg);background-size:cover;background-position:center;height:100vh;display:flex;justify-content:center;align-items:center;font-family:Inter,sans-serif}.reset-password-container{background-color:#fff;border-radius:24px;padding:40px 50px;box-shadow:0 10px 40px #0000001a;width:420px;text-align:left}.reset-password-box .logo{font-size:24px;font-weight:600;margin-bottom:25px}.reset-password-box h1{font-size:32px;font-weight:700;margin-bottom:10px}.reset-password-box p{color:#666;margin-bottom:30px;font-size:16px}.input-group{margin-bottom:20px}.input-group input{width:100%;padding:18px 20px;border:1px solid #e0e0e0;border-radius:12px;background-color:#fafafa;font-size:16px;box-sizing:border-box}.update-btn{width:100%;padding:18px;border:none;border-radius:12px;background-color:#212121;color:#fff;font-size:16px;font-weight:600;cursor:pointer}.message{margin-top:20px;text-align:center;font-weight:500}.message.success{color:#28a745}.message.error{color:#dc3545}.auth-callback-page{background-image:url(/assets/image-CrsSBZSO.jpg);background-size:cover;background-position:center;height:100vh;display:flex;justify-content:center;align-items:center;font-family:Inter,sans-serif}.auth-callback-container{background-color:#fff;border-radius:24px;padding:40px 50px;box-shadow:0 10px 40px #0000001a;width:420px;text-align:center}.auth-callback-box .logo{font-size:24px;font-weight:600;margin-bottom:25px}.auth-callback-box h1{font-size:32px;font-weight:700;margin-bottom:30px}.message{display:flex;flex-direction:column;align-items:center;gap:20px}.message p{color:#666;font-size:16px;margin:0}.spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #333;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
