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}.navigation{background-color:#282c34;padding:1rem 0;box-shadow:0 2px 4px #0000001a}.nav-container{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 2rem}.nav-logo{color:#61dafb;font-size:1.5rem;font-weight:700;text-decoration:none}.nav-logo:hover{color:#21b7e8}.nav-menu{display:flex;list-style:none;margin:0;padding:0;gap:2rem}.nav-item{margin:0}.nav-link{color:#fff;text-decoration:none;padding:.5rem 1rem;border-radius:4px;transition:background-color .3s}.nav-link:hover{background-color:#ffffff1a;color:#61dafb}.nav-link.active{background-color:#61dafb33;color:#61dafb;font-weight:500}@media (max-width: 768px){.nav-container{flex-direction:column;gap:1rem;padding:0 1rem}.nav-logo{font-size:1.25rem}.nav-menu{flex-wrap:wrap;justify-content:center;gap:.75rem;width:100%}.nav-link{padding:.5rem .75rem;font-size:.9rem;white-space:nowrap}}@media (max-width: 480px){.nav-container{padding:0 .5rem}.nav-logo{font-size:1.1rem}.nav-menu{gap:.5rem}.nav-link{padding:.4rem .6rem;font-size:.85rem}}.home{text-align:center;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding:2rem;color:#fff}.home-header{max-width:1200px;margin:0 auto;padding:2rem 0}.home-header h1{font-size:3rem;margin-bottom:1rem;font-weight:700}.home-subtitle{font-size:1.2rem;margin-bottom:3rem;opacity:.9}.api-status{background:#ffffff1a;padding:1.5rem;border-radius:10px;margin:2rem auto;max-width:500px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.api-status h3{margin-bottom:.5rem;color:#61dafb}.api-message{font-size:1rem;font-weight:500}.home-actions{margin:3rem 0;display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.cta-button{padding:1rem 2rem;font-size:1.1rem;border:none;border-radius:50px;cursor:pointer;font-weight:600;transition:all .3s ease;text-decoration:none;display:inline-block}.cta-button.primary{background:#61dafb;color:#282c34}.cta-button.primary:hover{background:#21b7e8;transform:translateY(-2px)}.cta-button.secondary{background:transparent;color:#fff;border:2px solid white}.cta-button.secondary:hover{background:#fff;color:#282c34;transform:translateY(-2px)}.features{margin-top:4rem}.features h2{font-size:2rem;margin-bottom:2rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:2rem}.feature-card{background:#ffffff1a;padding:2rem;border-radius:15px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .3s ease}.feature-card:hover{transform:translateY(-5px)}.feature-card h3{font-size:1.3rem;margin-bottom:1rem;color:#61dafb}.feature-card p{line-height:1.6;opacity:.9}@media (max-width: 768px){.home-header h1{font-size:2rem}.home-actions{flex-direction:column;align-items:center}.cta-button{width:200px}.features-grid{grid-template-columns:1fr}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.auth-card{background:#fff;padding:2.5rem;border-radius:15px;box-shadow:0 20px 40px #0000001a;width:100%;max-width:450px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.auth-card h2{text-align:center;color:#333;margin-bottom:.5rem;font-size:2rem;font-weight:700}.auth-subtitle{text-align:center;color:#666;margin-bottom:2rem;font-size:1rem}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column}.form-group label{color:#333;font-weight:600;margin-bottom:.5rem;font-size:.9rem}.form-group input{padding:.75rem;border:2px solid #e1e5e9;border-radius:8px;font-size:1rem;transition:border-color .3s ease}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input::placeholder{color:#aaa}.auth-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:1rem;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .2s ease;margin-top:1rem}.auth-button:hover{transform:translateY(-2px);box-shadow:0 5px 15px #667eea4d}.auth-links{text-align:center;margin-top:2rem}.auth-links p{color:#666;margin-bottom:1rem}.auth-link{color:#667eea;text-decoration:none;font-weight:600;transition:color .3s ease}.auth-link:hover{color:#764ba2;text-decoration:underline}.forgot-link{font-size:.9rem}@media (max-width: 768px){.auth-container{padding:1rem}.auth-card{padding:2rem}.form-row{grid-template-columns:1fr}.auth-card h2{font-size:1.5rem}}.profile-container{min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);padding:2rem}.profile-card{max-width:1000px;margin:0 auto;background:#fff;border-radius:15px;box-shadow:0 20px 40px #0000001a;overflow:hidden}.profile-header{display:flex;align-items:flex-start;padding:2.5rem;gap:2rem;border-bottom:1px solid #e1e5e9;background:linear-gradient(135deg,#667eea10,#764ba210);position:relative}.avatar-section{display:flex;flex-direction:column;align-items:center;gap:1rem;flex-shrink:0}.avatar{width:140px;height:140px;border-radius:50%;overflow:hidden;border:5px solid #667eea;box-shadow:0 8px 16px #667eea4d}.avatar img{width:100%;height:100%;object-fit:cover}.avatar-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:2.5rem;font-weight:700;color:#fff}.profile-header-info{flex:1}.profile-header-info h1{color:#333;margin-bottom:.5rem;font-size:2.2rem;font-weight:700}.profile-header-info .inline-edit-field{margin-bottom:.5rem}.profile-header-info .inline-edit-field h1{margin:0}.profile-header-info .inline-edit-input{font-size:2.2rem;font-weight:700;padding:.5rem}.profile-header-info .location{color:#666;font-size:1.1rem;margin-bottom:.3rem}.profile-header-info .location-not-set{color:#999;font-style:italic;font-size:.95rem}.profile-header-info .age{color:#764ba2;font-size:1rem;margin-bottom:.3rem;font-weight:600}.profile-header-info .join-date{color:#999;font-size:.9rem;margin-bottom:0}.profile-stats{display:flex;padding:2rem;justify-content:space-around;background:#f8f9fa;border-bottom:1px solid #e1e5e9}.stat-item{text-align:center}.stat-item h3{font-size:2.5rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.5rem;font-weight:800}.stat-item p{color:#666;font-weight:600;font-size:.95rem}.profile-content{padding:2.5rem}.profile-display{display:flex;flex-direction:column;gap:2rem}.profile-section{background:#f8f9fa;padding:1.5rem;border-radius:12px;border:1px solid #e1e5e9}.profile-section h3{color:#333;margin-bottom:1rem;font-size:1.3rem;font-weight:700;border-bottom:2px solid #667eea;padding-bottom:.5rem}.bio{color:#666;line-height:1.8;font-size:1.05rem}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.info-item{display:flex;flex-direction:column;gap:.3rem}.info-item .inline-edit-field{width:100%}.info-label{color:#999;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.info-value{color:#333;font-size:1.05rem;font-weight:500}.interests-list{display:flex;flex-wrap:wrap;gap:.75rem}.interest-tag{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.9rem;font-weight:600;display:inline-flex;align-items:center;gap:.5rem;transition:transform .2s ease}.interest-tag:hover{transform:translateY(-2px)}.remove-interest{background:#ffffff4d;border:none;color:#fff;width:20px;height:20px;border-radius:50%;cursor:pointer;font-size:1.2rem;line-height:1;padding:0;display:flex;align-items:center;justify-content:center;transition:background .2s ease}.remove-interest:hover{background:#ffffff80}.media-collections{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.collection-card{background:#fff;padding:1.5rem;border-radius:8px;border:2px solid #e1e5e9;transition:all .3s ease}.collection-card:hover{border-color:#667eea;transform:translateY(-4px);box-shadow:0 8px 16px #667eea33}.collection-card h4{color:#333;margin-bottom:.5rem;font-size:1.1rem}.collection-card p{color:#666;font-size:.9rem;margin-bottom:1rem;line-height:1.5}.collection-type,.collection-count{display:inline-block;padding:.25rem .75rem;background:#667eea;color:#fff;border-radius:12px;font-size:.75rem;font-weight:600;margin-right:.5rem}.collection-count{background:#764ba2}.no-items{color:#999;font-style:italic;text-align:center;padding:2rem}.edit-form{display:flex;flex-direction:column;gap:2rem}.form-section{background:#f8f9fa;padding:1.5rem;border-radius:12px;border:1px solid #e1e5e9}.form-section h3{color:#333;margin-bottom:1.5rem;font-size:1.2rem;font-weight:700;border-bottom:2px solid #667eea;padding-bottom:.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{color:#333;font-weight:600;font-size:.95rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.edit-form input,.edit-form textarea,.edit-form select{padding:.875rem;border:2px solid #e1e5e9;border-radius:8px;font-size:1rem;font-family:inherit;transition:border-color .2s ease;background:#fff}.edit-form input:focus,.edit-form textarea:focus,.edit-form select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.interests-input{display:flex;gap:.75rem;margin-bottom:1rem}.interests-input input{flex:1}.add-interest-btn{background:#667eea;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;white-space:nowrap;transition:all .2s ease}.add-interest-btn:hover{background:#5568d3;transform:translateY(-2px)}.form-actions{display:flex;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:2px solid #e1e5e9}.save-btn{background:#28a745;color:#fff;border:none;padding:.875rem 2rem;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s ease}.save-btn:hover{background:#218838;transform:translateY(-2px);box-shadow:0 4px 8px #28a7454d}.cancel-btn{background:#6c757d;color:#fff;border:none;padding:.875rem 2rem;border-radius:8px;cursor:pointer;font-weight:600;font-size:1rem;transition:all .2s ease}.cancel-btn:hover{background:#5a6268;transform:translateY(-2px);box-shadow:0 4px 8px #6c757d4d}.loading{text-align:center;padding:4rem;font-size:1.2rem;color:#666}@media (max-width: 768px){.profile-container{padding:1rem}.profile-header{flex-direction:column;align-items:center;text-align:center;padding:2rem 1.5rem}.profile-header-info h1{font-size:1.8rem}.profile-stats{flex-wrap:wrap;gap:1.5rem}.stat-item{flex:1 1 45%;min-width:120px}.profile-content{padding:1.5rem}.form-row,.info-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}.media-collections{grid-template-columns:1fr}.interests-input{flex-direction:column}.add-interest-btn{width:100%}}@media (max-width: 480px){.profile-header-info h1{font-size:1.5rem}.avatar{width:100px;height:100px}.stat-item h3{font-size:2rem}.profile-stats{padding:1.5rem 1rem}}.section-description{color:#666;font-size:.95rem;margin-bottom:1rem;font-style:italic}.contact-methods-list{display:flex;flex-direction:column;gap:.75rem}.contact-methods-loading{text-align:center;padding:2rem;color:#999}.error-message{position:fixed;top:20px;left:50%;transform:translate(-50%);background:#fee;color:#c33;padding:.75rem 1.5rem;border-radius:8px;border-left:4px solid #c33;font-size:.9rem;z-index:1000;box-shadow:0 4px 12px #00000026;animation:slideDown .3s ease;max-width:90%}.success-message{position:fixed;top:20px;left:50%;transform:translate(-50%);background:#efe;color:#383;padding:.75rem 1.5rem;border-radius:8px;border-left:4px solid #383;font-size:.9rem;z-index:1000;box-shadow:0 4px 12px #00000026;animation:slideDown .3s ease;max-width:90%}@keyframes slideDown{0%{opacity:0;transform:translate(-50%,-20px)}to{opacity:1;transform:translate(-50%)}}.contact-method-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#fff;border:2px solid #e1e5e9;border-radius:8px;transition:all .2s ease}.contact-method-item:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a}.contact-method-item.editing,.contact-method-item.deleting{border-color:#667eea;background:#f8f9ff}.contact-method-icon{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:600;flex-shrink:0}.contact-method-content{flex:1;min-width:0}.contact-method-value{color:#333;font-size:1rem;font-weight:500;margin-bottom:.4rem;word-break:break-word}.contact-method-badges{display:flex;gap:.5rem;flex-wrap:wrap}.badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.badge-primary{background:#667eea;color:#fff}.badge-public{background:#28a745;color:#fff}.badge-private{background:#6c757d;color:#fff}.badge-verified{background:#17a2b8;color:#fff}.contact-method-actions{display:flex;gap:.5rem;align-items:center}.btn{padding:.5rem 1rem;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover:not(:disabled){background:#5568d3;transform:translateY(-1px)}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover:not(:disabled){background:#c82333}.btn-link{background:transparent;color:#667eea;text-decoration:underline;padding:.25rem .5rem}.btn-link:hover:not(:disabled){color:#5568d3}.btn-icon{background:transparent;border:none;font-size:1.2rem;padding:.25rem;cursor:pointer;transition:transform .2s ease}.btn-icon:hover{transform:scale(1.2)}.contact-method-form{display:flex;flex-direction:column;gap:1rem;padding:1rem;background:#f8f9ff;border-radius:8px}.contact-method-form .form-group{display:flex;flex-direction:column;gap:.5rem}.contact-method-form .form-group.checkbox{flex-direction:row;align-items:center}.contact-method-form .form-group.checkbox label{display:flex;align-items:center;gap:.5rem;font-weight:500;cursor:pointer}.contact-method-form .form-group.checkbox input[type=checkbox]{width:18px;height:18px;cursor:pointer}.contact-method-form label{color:#333;font-weight:600;font-size:.9rem}.contact-method-form input,.contact-method-form select{padding:.75rem;border:2px solid #e1e5e9;border-radius:6px;font-size:.95rem;transition:border-color .2s ease}.contact-method-form input:focus,.contact-method-form select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.contact-method-form .form-actions{display:flex;gap:.75rem;margin-top:.5rem;border-top:none;padding-top:0}.delete-confirm{display:flex;flex-direction:column;gap:1rem}.delete-confirm p{color:#c33;font-weight:600;margin:0}.add-contact-section{margin-top:1rem;padding-top:1rem;border-top:2px solid #e1e5e9}@media (max-width: 768px){.contact-method-item{flex-direction:column;align-items:flex-start}.contact-method-actions{width:100%;justify-content:flex-end}.contact-method-form .form-actions{flex-direction:column}.contact-method-form .btn{width:100%}}.inline-edit-field{position:relative;display:flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:6px;transition:background-color .2s ease}.inline-edit-field.editable{cursor:pointer}.inline-edit-field.editable:hover{background-color:#f8f9ff;cursor:pointer}.inline-edit-field.editing{background-color:#f8f9ff;border:2px solid #667eea;padding:1rem;flex-direction:column;align-items:stretch;cursor:default}.inline-edit-value{flex:1;text-align:left;width:100%}.inline-edit-trigger{background:transparent;border:none;cursor:pointer;font-size:1rem;opacity:0;transition:opacity .2s ease;padding:.25rem}.inline-edit-field.editable:hover .inline-edit-trigger{opacity:1}.inline-edit-input{width:100%;padding:.75rem;border:2px solid #e1e5e9;border-radius:6px;font-size:1rem;font-family:inherit;transition:border-color .2s ease;background:#fff}.inline-edit-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.inline-edit-input:disabled{opacity:.6;cursor:not-allowed}textarea.inline-edit-input{resize:vertical;min-height:100px}.inline-edit-actions{display:flex;gap:.5rem;margin-top:.5rem}.btn-sm{padding:.25rem .75rem;font-size:.9rem}.inline-edit-error{color:#c33;font-size:.9rem;margin-top:.5rem}.empty-value{color:#999;font-style:italic}.inline-edit-interests{position:relative}.inline-edit-interests.editable{padding:.5rem;border-radius:6px;transition:background-color .2s ease}.inline-edit-interests.editable:hover{background-color:#f8f9ff}.inline-edit-interests.editing{background-color:#f8f9ff;border:2px solid #667eea;padding:1rem;border-radius:6px}.inline-edit-trigger-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-weight:600;margin-top:1rem;transition:all .2s ease}.inline-edit-trigger-btn:hover{transform:translateY(-1px);box-shadow:0 2px 8px #667eea4d}@media (max-width: 768px){.inline-edit-field.editing{padding:.75rem}.inline-edit-actions{flex-direction:column}.inline-edit-actions .btn{width:100%}}.goal-form{background-color:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 8px #0000001a}.goal-form .form-group{margin-bottom:1.5rem}.goal-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.goal-form label{display:block;margin-bottom:.5rem;font-weight:600;color:#333}.goal-form input,.goal-form textarea,.goal-form select{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit;transition:border-color .3s}.goal-form input:focus,.goal-form textarea:focus,.goal-form select:focus{outline:none;border-color:#4a90e2}.goal-form input:disabled,.goal-form textarea:disabled,.goal-form select:disabled{background-color:#f5f5f5;cursor:not-allowed}.goal-form textarea{resize:vertical;min-height:100px}.goal-form .form-actions{display:flex;justify-content:flex-end;margin-top:2rem}.goal-form .submit-btn{padding:.75rem 2rem;background-color:#4a90e2;color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s}.goal-form .submit-btn:hover:not(:disabled){background-color:#357abd}.goal-form .submit-btn:disabled{background-color:#ccc;cursor:not-allowed}@media (max-width: 768px){.goal-form{padding:1.5rem}.goal-form .form-row{grid-template-columns:1fr}}.goal-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-top:2rem}.goal-list-empty{text-align:center;padding:3rem;background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-top:2rem}.goal-list-empty p{color:#666;font-size:1.1rem}.goal-card{background-color:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;transition:transform .3s,box-shadow .3s}.goal-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.goal-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:1rem;gap:1rem}.goal-title{margin:0;font-size:1.25rem;color:#333;flex:1}.goal-title-clickable{cursor:pointer;transition:color .2s}.goal-title-clickable:hover{color:#007bff}.goal-status{padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600;white-space:nowrap}.status-active{background-color:#e3f2fd;color:#1976d2}.status-completed{background-color:#e8f5e9;color:#388e3c}.status-cancelled{background-color:#ffebee;color:#d32f2f}.status-draft{background-color:#f5f5f5;color:#757575}.goal-description{color:#666;margin-bottom:1.5rem;line-height:1.5}.goal-progress{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.progress-bar{flex:1;height:8px;background-color:#e0e0e0;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#4a90e2,#357abd);border-radius:4px;transition:width .3s ease}.progress-text{font-weight:600;color:#333;min-width:45px;text-align:right}.goal-amounts{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem;padding:1rem;background-color:#f9f9f9;border-radius:4px}.amount-item{display:flex;justify-content:space-between;align-items:center}.amount-label{color:#666;font-size:.9rem}.amount-value{font-weight:600;color:#333}.goal-footer{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:1px solid #e0e0e0}.goal-deadline{display:flex;flex-direction:column;gap:.25rem}.deadline-label{color:#666;font-size:.85rem}.deadline-value{font-weight:600;color:#333}.days-remaining{font-size:.85rem;color:#4a90e2}.privacy-badge{padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600}.privacy-private{background-color:#fff3e0;color:#e65100}.privacy-public{background-color:#e8f5e9;color:#2e7d32}.goal-actions{margin-top:1rem;padding-top:1rem;border-top:1px solid #e0e0e0}.delete-btn{background-color:#d32f2f;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .3s,opacity .3s;width:100%}.delete-btn:hover:not(:disabled){background-color:#c62828}.delete-btn:disabled{opacity:.5;cursor:not-allowed}.delete-confirmation{padding:1rem;background-color:#fff3e0;border-radius:4px;border:1px solid #ffb74d}.confirmation-message{margin:0 0 1rem;color:#e65100;font-size:.95rem;line-height:1.5}.confirmation-buttons{display:flex;gap:.5rem}.confirm-delete-btn,.cancel-delete-btn{flex:1;padding:.5rem 1rem;border:none;border-radius:4px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .3s,opacity .3s}.confirm-delete-btn{background-color:#d32f2f;color:#fff}.confirm-delete-btn:hover:not(:disabled){background-color:#c62828}.confirm-delete-btn:disabled{opacity:.5;cursor:not-allowed}.cancel-delete-btn{background-color:#757575;color:#fff}.cancel-delete-btn:hover:not(:disabled){background-color:#616161}.cancel-delete-btn:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.goal-list{grid-template-columns:1fr}.goal-card{padding:1rem}.goal-header{flex-direction:column;align-items:start}.goal-footer{flex-direction:column;align-items:start;gap:1rem}}.goals-container{max-width:1200px;margin:0 auto;padding:2rem}.goals-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.goals-header h1{margin:0;color:#333;font-size:2rem}.toggle-form-btn{padding:.75rem 1.5rem;background-color:#4a90e2;color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s}.toggle-form-btn:hover{background-color:#357abd}.error-message{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background-color:#ffebee;border-left:4px solid #d32f2f;border-radius:4px;margin-bottom:2rem}.error-message p{margin:0;color:#c62828;font-weight:500}.dismiss-error{background:none;border:none;font-size:1.5rem;color:#c62828;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .3s}.dismiss-error:hover{background-color:#d32f2f1a}.form-section{margin-bottom:3rem}.form-section h2{margin-bottom:1rem;color:#333}.goals-section{margin-top:3rem}.goals-section h2{margin-bottom:1rem;color:#333}.loading{text-align:center;padding:3rem;font-size:1.2rem;color:#666}@media (max-width: 768px){.goals-container{padding:1rem}.goals-header{flex-direction:column;align-items:stretch;gap:1rem}.goals-header h1{font-size:1.5rem}.toggle-form-btn{width:100%}}.goal-detail-container{max-width:900px;margin:0 auto;padding:2rem 1rem}.goal-detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.back-btn{padding:.5rem 1rem;background-color:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;transition:background-color .2s}.back-btn:hover{background-color:#5a6268}.error-banner{display:flex;justify-content:space-between;align-items:center;padding:1rem;margin-bottom:1rem;background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;color:#721c24}.error-banner p{margin:0;flex:1}.dismiss-error{background:none;border:none;font-size:1.5rem;color:#721c24;cursor:pointer;padding:0 .5rem;line-height:1}.dismiss-error:hover{opacity:.7}.goal-detail-card{background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:2rem}.goal-detail-main .goal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.goal-title-container{flex:1}.goal-title{font-size:2rem;font-weight:700;color:#1a1a1a;margin:0;position:relative;display:inline-block}.goal-title.editable{cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:background-color .2s}.goal-title.editable:hover{background-color:#f0f0f0}.edit-icon{margin-left:.5rem;font-size:1rem;opacity:0;transition:opacity .2s;color:#007bff}.editable:hover .edit-icon{opacity:1}.inline-edit-field{display:flex;flex-direction:column;gap:.5rem}.inline-edit-actions{display:flex;gap:.5rem}.inline-save-btn,.inline-cancel-btn{padding:.4rem .8rem;border:none;border-radius:4px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s}.inline-save-btn{background-color:#28a745;color:#fff}.inline-save-btn:hover:not(:disabled){background-color:#218838}.inline-cancel-btn{background-color:#6c757d;color:#fff}.inline-cancel-btn:hover:not(:disabled){background-color:#5a6268}.inline-save-btn:disabled,.inline-cancel-btn:disabled{opacity:.6;cursor:not-allowed}.edit-title-input{font-size:2rem;font-weight:700;padding:.5rem;border:2px solid #007bff;border-radius:4px;font-family:inherit;width:100%}.goal-status{padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.status-draft{background-color:#ffc107;color:#000}.status-active{background-color:#28a745;color:#fff}.status-completed{background-color:#17a2b8;color:#fff}.status-cancelled{background-color:#6c757d;color:#fff}.goal-meta{display:flex;gap:.75rem;margin-bottom:1.5rem}.privacy-badge,.category-badge{padding:.4rem .8rem;border-radius:4px;font-size:.85rem;font-weight:500}.privacy-private{background-color:#f8f9fa;color:#495057;border:1px solid #dee2e6}.privacy-public{background-color:#e7f3ff;color:#0056b3;border:1px solid #b8daff}.category-container{display:inline-block}.category-badge{background-color:#f0f0f0;color:#333;border:1px solid #d0d0d0;position:relative;display:inline-block}.category-badge.editable{cursor:pointer;transition:background-color .2s}.category-badge.editable:hover{background-color:#e0e0e0}.goal-description-section,.goal-progress-section{margin-bottom:2rem}.section-title{font-size:1.25rem;font-weight:600;color:#333;margin-bottom:.75rem}.goal-description{font-size:1rem;line-height:1.6;color:#555;white-space:pre-wrap;position:relative}.goal-description.editable{cursor:pointer;padding:.75rem;border-radius:4px;transition:background-color .2s;display:inline-block;min-width:100%}.goal-description.editable:hover{background-color:#f0f0f0}.edit-description-textarea{width:100%;font-size:1rem;line-height:1.6;padding:.75rem;border:2px solid #007bff;border-radius:4px;font-family:inherit;resize:vertical}.progress-bar{width:100%;height:24px;background-color:#e9ecef;border-radius:12px;overflow:hidden;margin-bottom:.5rem}.progress-fill{height:100%;background:linear-gradient(90deg,#28a745,#20c997);transition:width .3s ease}.progress-text{font-size:1rem;font-weight:600;color:#28a745}.goal-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:2rem}.detail-item{display:flex;flex-direction:column;gap:.5rem}.detail-label{font-size:.9rem;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px}.detail-value{font-size:1.1rem;font-weight:500;color:#1a1a1a;position:relative}.detail-value.editable{cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:background-color .2s;display:inline-block}.detail-value.editable:hover{background-color:#f0f0f0}.days-remaining-inline{font-size:.9rem;color:#666;font-weight:400}.edit-amount-input,.edit-date-input{font-size:1.1rem;padding:.5rem;border:2px solid #007bff;border-radius:4px;font-family:inherit;width:100%}.edit-category-select{font-size:.9rem;padding:.5rem;border:2px solid #007bff;border-radius:4px;font-family:inherit;min-width:200px}.loading-message,.error-message{text-align:center;padding:2rem;font-size:1.1rem;color:#666}.error-message{color:#dc3545}.error-message p{margin-bottom:1rem}.link-btn{background:none;border:none;color:#007bff;text-decoration:underline;cursor:pointer;font-size:inherit;padding:0;font-family:inherit}.link-btn:hover{color:#0056b3}@media (max-width: 768px){.goal-detail-container{padding:1rem .5rem}.goal-detail-card{padding:1.5rem}.goal-title,.edit-title-input{font-size:1.5rem}.goal-details-grid{grid-template-columns:1fr}.goal-header{flex-direction:column;align-items:flex-start!important}}.App{min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1}*{margin:0;padding:0;box-sizing:border-box}body{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}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
