:root{--bg-page: #ffffff;--bg-surface: #f9f9fb;--bg-surface-2: #f5f5f7;--bg-elevated: #ffffff;--border-color: #e5e5e7;--divider-color: #efefef;--primary-color: #000000;--secondary-color: #27c880;--accent-color: #000000;--success-color: #27c880;--danger-color: #ff3b30;--warning-color: #ff9500;--text-primary: #1a1a1a;--text-secondary: #666666;--text-muted: #999999;--shadow-sm: 0 4px 15px rgba(0, 0, 0, .08);--shadow-md: 0 12px 30px rgba(0, 0, 0, .12);--shadow-lg: 0 20px 60px rgba(0, 0, 0, .15);--input-bg: #ffffff;--input-border: #e5e5e7;--table-header: #f5f5f5;--table-row: #ffffff;--table-row-alt: #f9f9f9;--hover-bg: #f0f0f0;--transition: all .3s ease}html[data-theme=dark]{--bg-page: #0f1318;--bg-surface: #151b22;--bg-surface-2: #1c232c;--bg-elevated: #202832;--border-color: #27303a;--divider-color: #2a333d;--primary-color: #5ea4ff;--secondary-color: #4cc38a;--accent-color: #5ea4ff;--success-color: #4cc38a;--danger-color: #ff6b6b;--warning-color: #f7b955;--text-primary: #e7ecf2;--text-secondary: #b8c2cf;--text-muted: #8c98a9;--shadow-sm: 0 6px 18px rgba(0, 0, 0, .28);--shadow-md: 0 10px 28px rgba(0, 0, 0, .32);--shadow-lg: 0 18px 48px rgba(0, 0, 0, .38);--input-bg: #11161d;--input-border: #2b3541;--table-header: #1b222b;--table-row: #151b22;--table-row-alt: #121820;--hover-bg: #1f2730}*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}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;background:var(--bg-page);color:var(--text-primary);line-height:1.6}.app{display:flex;flex-direction:column;height:100vh;background:var(--bg-page);position:relative}.main-content{flex:1;padding-bottom:80px;animation:fadeIn .5s ease-in;overflow-y:auto;overflow-x:hidden;width:100%;min-height:0;background:var(--bg-page)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-surface);border-radius:4px}::-webkit-scrollbar-thumb{background:#3a4653;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#4a5563}@media (max-width: 1024px){.main-content{padding-bottom:100px}}@media (max-width: 768px){.main-content{padding-bottom:120px}.nav-item{padding:.5rem}button,input[type=button],input[type=submit],input[type=reset],.btn,.btn-primary,.btn-secondary,.button-primary,.button-secondary{min-height:48px;padding:.75rem 1.5rem}input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],select,textarea{min-height:48px;padding:.75rem}.container{padding:0 1rem}h1{font-size:1.5rem}h2{font-size:1.2rem}h3{font-size:1rem}body{font-size:.95rem}}@media (max-width: 480px){body{font-size:.9rem}h1{font-size:1.3rem}h2{font-size:1.1rem}h3{font-size:.95rem}.container{padding:0 .75rem}button,input[type=button],input[type=submit],.btn{font-size:.9rem;padding:.5rem 1rem}}.container{max-width:1200px;margin:0 auto;padding:0 2rem}@media (max-width: 768px){.container{padding:0 1rem}}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}::selection{background:#2c3b4a;color:#fff}::-moz-selection{background:#2c3b4a;color:#fff}html[data-theme=light]{--bg-page: #f5f5f7;--bg-surface: #ffffff;--bg-surface-2: #f9f9fb;--bg-elevated: #ffffff;--border-color: #e5e5e7;--divider-color: #efefef;--primary-color: #000000;--secondary-color: #27c880;--accent-color: #000000;--success-color: #27c880;--danger-color: #ff3b30;--warning-color: #ff9500;--text-primary: #000000;--text-secondary: #666666;--text-muted: #999999;--shadow-sm: 0 4px 15px rgba(0, 0, 0, .08);--shadow-md: 0 12px 30px rgba(0, 0, 0, .12);--shadow-lg: 0 20px 60px rgba(0, 0, 0, .15);--input-bg: #ffffff;--input-border: #e5e5e7;--table-header: #f5f5f5;--table-row: #ffffff;--table-row-alt: #f9f9f9;--hover-bg: #f0f0f0}body.dark-mode .header{background:#0d0d0d;border-bottom-color:#404040}body.dark-mode .nav-links a,body.dark-mode .nav-links button{color:#fff}.nav-links a:hover,.nav-links button:hover{background:var(--hover-bg)}.modal-overlay{background:#000000b3}.modal-content{background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border-color);box-shadow:var(--shadow-md)}.expense-form input,.expense-form textarea,.expense-form select,input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],select,textarea{background:var(--input-bg);color:var(--text-primary);border:1px solid var(--input-border)}input::placeholder,textarea::placeholder{color:var(--text-muted)}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #5ea4ff40}table{background:var(--bg-surface);color:var(--text-primary);border-color:var(--border-color)}table th{background:var(--table-header);color:var(--text-primary)}table td{border-color:var(--divider-color);color:var(--text-secondary)}table tbody tr:nth-child(2n){background:var(--table-row-alt)}table tbody tr:nth-child(odd){background:var(--table-row)}table tr:hover{background:var(--hover-bg)}.card,.settings-card,.panel,.section,.widget,.box,.container-card{background:var(--bg-surface);border:1px solid var(--border-color);color:var(--text-primary);box-shadow:var(--shadow-sm)}.btn-primary,.button-primary{background:var(--primary-color);color:#0c1116;border:1px solid var(--primary-color)}.btn-primary:hover,.button-primary:hover{background:var(--hover-bg);color:var(--text-primary);border-color:var(--primary-color)}.btn-secondary,.button-secondary{background:var(--border-color);color:var(--text-primary);border:1px solid var(--border-color)}.btn-secondary:hover,.button-secondary:hover{background:var(--hover-bg)}.header{background:var(--bg-surface-2);color:var(--text-primary);padding:1rem 0;box-shadow:var(--shadow-sm);position:sticky;top:0;z-index:100;border-bottom:1px solid var(--border-color)}.header-container{max-width:1400px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap}.logo-section{flex:1;min-width:200px}.logo{margin:0;font-size:1.8rem;font-weight:700;letter-spacing:-.5px}.tagline{margin:.25rem 0 0;font-size:.85rem;opacity:.9;font-weight:300}.hamburger-btn{display:none;background:transparent;border:none;color:var(--text-primary);font-size:1.5rem;cursor:pointer;padding:.5rem;min-height:44px;min-width:44px;align-items:center;justify-content:center;transition:all .3s ease}.hamburger-btn:hover{background:var(--hover-bg);border-radius:6px}.mobile-nav-drawer{display:none;position:fixed;left:0;top:60px;width:100%;background:var(--bg-surface);border-bottom:1px solid var(--border-color);box-shadow:var(--shadow-md);z-index:99999;animation:slideDown .3s ease}.mobile-nav-drawer.open{display:block}.mobile-nav-menu{display:flex;flex-direction:column;padding:1rem 0}.mobile-nav-link{padding:.75rem 2rem;color:var(--text-primary);text-decoration:none;font-weight:500;border-bottom:1px solid var(--divider-color);transition:all .3s ease}.mobile-nav-link:hover{background:var(--hover-bg)}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.nav-menu{display:flex;gap:2rem;align-items:center;flex:1;justify-content:center}.nav-link{color:var(--text-primary);text-decoration:none;font-weight:500;transition:all .3s ease;position:relative}.nav-link:after{content:"";position:absolute;bottom:-5px;left:0;width:0;height:2px;background:var(--primary-color);transition:width .3s ease}.nav-link:hover:after{width:100%}.user-section{display:flex;align-items:center;gap:1rem;min-width:200px;justify-content:flex-end}.settings-btn{background:transparent;border:1px solid var(--border-color);color:var(--text-primary);padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-weight:500;transition:all .3s ease}.settings-btn:hover{background:var(--hover-bg);color:var(--text-primary);border-color:var(--primary-color);transform:translateY(-2px)}.user-name{font-weight:500;font-size:.95rem;background:var(--bg-surface);border:1px solid var(--border-color);color:var(--text-primary);padding:.5rem 1rem;border-radius:6px;cursor:pointer;transition:all .3s ease}.user-name:hover{background:var(--hover-bg);border-color:var(--primary-color);transform:translateY(-2px)}.logout-btn{background:var(--primary-color);border:1px solid var(--primary-color);color:#fff;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease}.logout-btn:hover{background:var(--primary-color);opacity:.8;color:#fff;border-color:var(--primary-color);transform:translateY(-2px)}@media (max-width: 1024px){.header-container{gap:1rem}.nav-menu{gap:1rem;flex:0}.nav-link{font-size:.9rem}}@media (max-width: 768px){.header-container{padding:0 1rem;gap:1rem}.hamburger-btn{display:flex}.nav-menu{display:none}.user-section{gap:.5rem}.settings-btn,.user-name,.logout-btn{padding:.5rem .75rem;font-size:.9rem}.logo{font-size:1.5rem}.tagline{font-size:.75rem}}@media (max-width: 480px){.header-container{padding:0 .75rem}.logo{font-size:1.3rem}.settings-btn,.user-name,.logout-btn{padding:.4rem .6rem;font-size:.85rem;border-radius:4px}.hamburger-btn{min-height:40px;min-width:40px;font-size:1.3rem}}.dashboard{max-width:1400px;margin:0 auto;padding:2rem;animation:fadeIn .5s ease-in;background:var(--bg-page);color:var(--text-primary)}.loading-state{text-align:center;padding:4rem;color:var(--text-secondary);font-size:1.1rem}.empty-chart{display:flex;align-items:center;justify-content:center;height:300px;color:var(--text-secondary);font-size:.95rem;text-align:center}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.card{background:var(--bg-surface);border-radius:12px;padding:2rem;box-shadow:var(--shadow-sm);transition:all .3s ease;border-left:4px solid;position:relative;overflow:hidden;border:1px solid var(--border-color)}.card:before{content:"";position:absolute;top:0;right:0;width:100px;height:100px;background:radial-gradient(circle,rgba(255,255,255,.08),transparent);border-radius:50%;opacity:0;transition:opacity .3s ease}.card:hover:before{opacity:1}.card:hover{transform:translateY(-8px);box-shadow:var(--shadow-md)}.balance-card{border-left-color:var(--primary-color)}.expense-card{border-left-color:var(--danger-color)}.income-card{border-left-color:var(--success-color)}.savings-card{border-left-color:var(--primary-color)}.budget-card{border-left-color:var(--warning-color)}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.card-header h3{margin:0;font-size:1rem;color:var(--text-secondary);font-weight:600}.card-icon{font-size:1.8rem}.card-value{margin:.5rem 0 0;font-size:2rem;font-weight:700;color:var(--text-primary)}.card-trend{margin:.5rem 0 0;font-size:.85rem;color:var(--text-secondary);font-weight:500}.progress-bar{width:100%;height:8px;background:var(--divider-color);border-radius:4px;margin:1rem 0;overflow:hidden}.progress{height:100%;background:var(--primary-color);border-radius:4px;transition:width .5s ease}.charts-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:2rem;margin-bottom:2rem}.chart-container{background:var(--bg-surface);border-radius:12px;padding:2rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-color)}.chart-container h2{margin:0 0 1.5rem;font-size:1.3rem;color:var(--text-primary)}.recent-transactions{background:var(--bg-surface);border-radius:12px;padding:2rem;box-shadow:var(--shadow-sm);margin-bottom:2rem;border:1px solid var(--border-color)}.transactions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.transactions-header h2{margin:0;font-size:1.3rem;color:var(--text-primary)}.view-all{color:var(--primary-color);text-decoration:none;font-weight:600;transition:color .3s ease}.view-all:hover{color:#8cc4ff}.transactions-list{display:flex;flex-direction:column;gap:1rem}.transaction-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f5f5f5;border-radius:8px;border-left:3px solid #000000;transition:all .3s ease}.transaction-item:hover{background:#eee;transform:translate(5px)}.transaction-item.income,.transaction-item.expense{border-left-color:#000}.transaction-info{flex:1}.transaction-description{margin:0;font-weight:600;color:#333;font-size:.95rem}.transaction-category{margin:.3rem 0 0;font-size:.8rem;color:#999}.transaction-date{color:#999;font-size:.85rem;margin:0 1rem}.transaction-amount{font-weight:700;font-size:1.1rem;margin:0}.transaction-amount.income{color:#27ae60}.transaction-amount.expense{color:#e74c3c}.empty-state{text-align:center;padding:2rem;color:#999}.empty-state p{margin:0 0 1rem;font-size:.95rem}.quick-actions{margin-top:2rem}.quick-actions h2{margin:0 0 1.5rem;font-size:1.3rem;color:#000}.action-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.action-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1.5rem;border:2px solid #000000;border-radius:12px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;color:#fff;background:#000}.action-btn.primary{background:#000;border-color:#000}.action-btn.success{background:#333;border-color:#333}.action-btn.info{background:#666;border-color:#666}.action-btn.warning{background:#999;border-color:#999}.action-btn:hover{transform:translateY(-4px);box-shadow:0 10px 25px #00000040;background:#1a1a1a}.action-btn.success:hover{background:#404040}.action-btn.info:hover{background:#707070}.action-btn.warning:hover{background:#a0a0a0}.action-btn .icon{font-size:1.8rem}@media (max-width: 1024px){.dashboard{padding:1rem}.summary-cards{grid-template-columns:repeat(2,1fr);gap:1rem}.charts-section{grid-template-columns:1fr}.card,.chart-container,.recent-transactions{padding:1.5rem}}@media (max-width: 768px){.dashboard{padding:1rem}.summary-cards{grid-template-columns:1fr;gap:1rem}.card{padding:1.5rem}.card-value{font-size:1.8rem}.card-label{font-size:.85rem}.empty-chart{height:200px}.charts-section{grid-template-columns:1fr}.action-buttons{grid-template-columns:repeat(2,1fr);gap:.75rem}.recent-transactions{padding:1.5rem}.transactions-header{flex-direction:column;align-items:flex-start;gap:1rem}}@media (max-width: 480px){.dashboard{padding:.75rem}.summary-cards{gap:.75rem}.card{padding:1rem;border-radius:8px}.card-value{font-size:1.5rem}.card-label{font-size:.8rem}.action-buttons{grid-template-columns:1fr}.empty-chart{height:150px}}.transactions-container{max-width:1200px;margin:0 auto;padding:2rem;animation:fadeIn .5s ease-in;background:var(--bg-page);color:var(--text-primary)}.transactions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;gap:2rem}.header-info h1{margin:0 0 .5rem;font-size:2rem;color:var(--text-primary)}.header-info p{margin:0;color:var(--text-secondary);font-size:.95rem}.transaction-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:var(--bg-surface);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-sm);border-top:3px solid;border:1px solid var(--border-color)}.stat-card.income{border-top-color:var(--success-color)}.stat-card.expense{border-top-color:var(--danger-color)}.stat-card.net{border-top-color:var(--primary-color)}.stat-card h3{margin:0 0 .5rem;font-size:.9rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.stat-value{margin:0 0 .5rem;font-size:1.8rem;font-weight:700;color:var(--text-primary)}.stat-label{display:block;font-size:.8rem;color:var(--text-secondary)}.filters-section{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap;align-items:center}.search-box{position:relative;flex:1;min-width:250px}.search-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);pointer-events:none}.search-box input{width:100%;padding:.75rem 1rem .75rem 2.5rem;border:1px solid var(--input-border);border-radius:8px;font-size:.9rem;transition:all .3s ease;background:var(--input-bg);color:var(--text-primary)}.search-box input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #5ea4ff40}.filter-group{display:flex;align-items:center;gap:.5rem}.filter-group label{font-weight:600;font-size:.9rem;color:var(--text-secondary);white-space:nowrap}.filter-group select{padding:.75rem 1rem;border:1px solid var(--input-border);border-radius:8px;background:var(--input-bg);cursor:pointer;font-size:.9rem;transition:all .3s ease;color:var(--text-primary)}.transactions-list{background:var(--bg-surface);border-radius:12px;overflow:hidden;box-shadow:var(--shadow-sm);margin-bottom:2rem;border:1px solid var(--border-color)}.transactions-table{width:100%;border-collapse:collapse}.transactions-table thead{background:var(--table-header);border-bottom:1px solid var(--border-color)}.transactions-table th{padding:1.25rem;text-align:left;font-weight:600;color:var(--text-primary);font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.transactions-table tbody tr{border-bottom:1px solid var(--divider-color);transition:background .3s ease}.transactions-table tbody tr:hover{background:var(--hover-bg)}.transactions-table td{padding:1.25rem;font-size:.9rem;color:var(--text-secondary)}.date-col{font-weight:600;color:#000}.description-col{font-weight:500;color:#000}.category-col{color:#000}.category-badge{display:inline-block;padding:.25rem .75rem;background:#f0f0f0;color:#000;border-radius:20px;font-size:.8rem;font-weight:600;border:1px solid #cccccc}.payment-col{color:#999;font-size:.85rem}.amount-col{text-align:right;font-weight:700;font-size:1rem}.amount-col.income{color:#000}.amount-col.expense{color:#666}.amount-value{display:inline-block;padding:.25rem .75rem;background:#f0f0f0;border-radius:6px;color:#000}.actions-col{display:flex;gap:.5rem}.action-icon{background:none;border:none;font-size:1.1rem;cursor:pointer;padding:.5rem;border-radius:4px;transition:all .3s ease}.action-icon:hover{background:#f0f0f0;transform:scale(1.2)}.empty-state{text-align:center;padding:3rem;color:#999}.empty-state p{margin:0 0 1.5rem;font-size:1rem}.modal-content{background:#fff;border-radius:12px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0003;animation:slideUp .3s ease}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:2rem;border-bottom:1px solid #e0e0e0}.modal-header h2{margin:0;color:#000}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#999;transition:color .3s ease}.close-btn:hover{color:#000}.transaction-form{padding:2rem;display:flex;flex-direction:column;gap:1.5rem}.form-group label{font-weight:600;color:#000;font-size:.9rem}.form-group input,.form-group select,.form-group textarea{padding:.75rem;border:1px solid #cccccc;border-radius:8px;font-size:.9rem;font-family:inherit;transition:all .3s ease;background:#fff;color:#000}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#000;box-shadow:0 0 0 3px #0000001a}.amount-input{position:relative;width:100%}.amount-input .currency{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-weight:600;color:#000;pointer-events:none}.amount-input input[type=number]{width:100%;padding-left:22px!important;box-sizing:border-box}.amount-input input{width:100%;padding-left:32px}.form-actions{display:flex;gap:1rem;margin-top:1rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .3s ease;font-size:.9rem}.btn-primary{background:#000;color:#fff}.btn-primary:hover{transform:translateY(-2px);background:#333;box-shadow:0 8px 20px #0003}.btn-secondary{background:#f0f0f0;color:#000;border:1px solid #cccccc}.btn-secondary:hover{background:#e0e0e0}.description-input-wrapper{position:relative;display:flex;align-items:center}.description-input-wrapper input{flex:1}.description-actions{display:flex;align-items:center;gap:.75rem;margin-left:.75rem}.voice-btn{border:2px solid #cccccc;background:#f9f9f9;color:#000;border-radius:6px;padding:.5rem .75rem;cursor:pointer;transition:all .2s ease;font-weight:600;position:relative}.voice-btn:hover{background:#f0f0f0;border-color:#999}.voice-btn.recording{background:#ffecec;border-color:#ff6b6b;color:#b00000;font-weight:700;animation:recordingPulse .6s ease-in-out infinite;box-shadow:0 0 10px #ff6b6b80}@keyframes recordingPulse{0%,to{box-shadow:0 0 10px #ff6b6b80,inset 0 0 5px #ff6b6b33}50%{box-shadow:0 0 20px #ff6b6bcc,inset 0 0 10px #ff6b6b4d}}.voice-btn.recording:after{content:"🔴";margin-left:.5rem;display:inline-block;animation:recordingDot 1.2s ease-in-out infinite}@keyframes recordingDot{0%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.voice-transcript{margin-top:.75rem;padding:.75rem;background:#f5f7ff;border-left:4px solid #4a6cf7;border-radius:4px;display:flex;gap:.5rem;align-items:center;color:#000}.listening-indicator{margin-top:.75rem;padding:.75rem;background:linear-gradient(135deg,#ffebee,#fcc);border-left:4px solid #ff6b6b;border-radius:4px;display:flex;gap:.5rem;align-items:center;color:#b00000;font-weight:600;animation:listeningGlow 1s ease-in-out infinite}@keyframes listeningGlow{0%,to{background:linear-gradient(135deg,#ffebee,#fcc);box-shadow:0 0 10px #ff6b6b4d}50%{background:linear-gradient(135deg,#fcc,#fbb);box-shadow:0 0 20px #ff6b6b99}}.listening-dot{display:inline-block;width:8px;height:8px;background:#ff6b6b;border-radius:50%;animation:bouncingDot 1.2s ease-in-out infinite}.listening-dot:nth-child(2){animation-delay:.2s}.listening-dot:nth-child(3){animation-delay:.4s}@keyframes bouncingDot{0%,to{transform:translateY(0);opacity:1}50%{transform:translateY(-10px);opacity:.7}}.listening-text{font-size:.85rem;margin-left:.5rem;font-weight:700;letter-spacing:.5px}.voice-label{font-weight:700;font-size:.85rem;color:#2f3a75}.voice-text{flex:1;font-size:.9rem}.voice-error{margin-top:.5rem;color:#b00020;font-weight:600;font-size:.9rem}.voice-support-note{font-size:.85rem;color:#666}.ai-loading{position:absolute;right:15px;font-size:.9rem;animation:pulse 1.5s ease-in-out infinite;color:#4caf50;font-weight:700}@keyframes pulse{0%,to{opacity:.6}50%{opacity:1}}.ai-suggestion{margin-top:.75rem;padding:.75rem;background:#e8f5e9;border-left:4px solid #4CAF50;border-radius:4px;display:flex;align-items:center;gap:1rem;font-size:.9rem}.ai-badge{background:#4caf50;color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:700;white-space:nowrap}.confidence-score{color:#1b5e20;flex:1}.confidence-score strong{color:#2e7d32;font-weight:600}.transactions-mobile-cards{display:none}.transaction-card-row{display:contents}.transaction-card-actions{grid-column:1 / -1;display:flex;gap:.5rem;margin-top:.5rem}@media (max-width: 768px){.transactions-container{padding:1rem}.transactions-header{flex-direction:column;align-items:flex-start}.filters-section{flex-direction:column}.search-box{width:100%;min-width:100%}.form-row{grid-template-columns:1fr}.transactions-table{display:none}.transactions-mobile-cards,.table-wrapper{display:flex;flex-direction:column;gap:1rem}.transaction-card{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:8px;padding:1rem;display:grid;grid-template-columns:1fr 1fr;gap:.75rem;align-items:start}.transaction-card-row{display:contents}.transaction-card-item{font-size:.9rem}.transaction-card-label{color:var(--text-secondary);font-size:.8rem;font-weight:600;text-transform:uppercase;margin-bottom:.25rem}.transaction-card-value{color:var(--text-primary);font-weight:600}.transaction-card-actions{grid-column:1 / -1;display:flex;gap:.5rem;justify-content:center;margin-top:.5rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.transaction-card-actions .action-icon{flex:1;max-width:150px}.actions-col{flex-direction:row;gap:.5rem}.ai-suggestion{flex-direction:column;align-items:flex-start}}@media (max-width: 480px){.transactions-container{padding:.75rem}.header-info h1{font-size:1.5rem}.transaction-stats{grid-template-columns:1fr;gap:1rem}.stat-card{padding:1rem}.stat-value{font-size:1.5rem}.search-box input{padding:.5rem .75rem .5rem 2.25rem;font-size:.9rem}.search-icon{left:.75rem}.transaction-card{grid-template-columns:1fr}.action-icon{padding:.4rem;font-size:1rem}}.group-expenses-container{max-width:1400px;margin:0 auto;padding:2rem;animation:fadeIn .5s ease-in;background:var(--bg-page);color:var(--text-primary)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.group-header{margin-bottom:2rem}.group-header h1{margin:0 0 .5rem;font-size:2rem;color:var(--text-primary)}.group-header p{margin:0;color:var(--text-secondary);font-size:.95rem}.tab-buttons{display:flex;gap:1rem;margin-bottom:2rem;background:var(--bg-surface);padding:1rem;border-radius:12px;box-shadow:var(--shadow-sm);border:1px solid var(--border-color)}.tab-btn{padding:.75rem 1.5rem;border:1px solid transparent;background:transparent;cursor:pointer;font-weight:600;font-size:.95rem;border-radius:8px;transition:all .3s ease;color:var(--text-secondary)}.tab-btn:hover{background:var(--hover-bg)}.tab-btn.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.groups-section{display:grid;grid-template-columns:300px 1fr;gap:2rem}.groups-sidebar{background:var(--bg-surface);border-radius:12px;padding:1.5rem;box-shadow:var(--shadow-sm);height:fit-content;position:sticky;top:100px;border:1px solid var(--border-color)}.groups-sidebar h2{margin:0 0 1rem;font-size:1.2rem;color:var(--text-primary)}.groups-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem;max-height:400px;overflow-y:auto}.group-item{padding:1rem;background:var(--bg-surface);border-radius:8px;cursor:pointer;transition:all .3s ease;border-left:3px solid transparent}.group-item:hover{background:var(--hover-bg);transform:translate(5px)}.group-item.active{background:var(--bg-page);border-left-color:var(--primary-color)}.group-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.group-item-header h3{margin:0;font-size:.95rem;color:var(--text-primary)}.member-count{display:inline-block;background:var(--primary-color);color:#fff;font-size:.75rem;padding:.25rem .5rem;border-radius:4px;font-weight:600}.group-desc{margin:.5rem 0;font-size:.8rem;color:var(--text-secondary)}.group-total{margin:.5rem 0 0;font-size:.85rem;color:var(--text-primary);font-weight:600}.group-details{background:var(--bg-surface);border-radius:12px;padding:2rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-color)}.group-header-section{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.group-header-section h2{margin:0 0 .5rem;font-size:1.8rem;color:var(--text-primary)}.group-header-section p{margin:0;color:var(--text-secondary);font-size:.9rem}.members-section{margin-bottom:2rem}.members-section h3{margin:0 0 1.5rem;font-size:1.1rem;color:var(--text-primary)}.members-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem}.member-card{background:var(--bg-page);border-radius:12px;padding:1.5rem;text-align:center;border:2px solid var(--border-color);transition:all .3s ease}.member-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}.member-card.positive{border-color:var(--success-color);background:var(--bg-surface)}.member-card.negative{border-color:var(--danger-color);background:var(--bg-surface)}.member-card.neutral{border-color:var(--primary-color);background:var(--bg-surface)}.member-avatar{display:inline-block;width:60px;height:60px;border-radius:50%;background:var(--primary-color);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:500;margin-bottom:1rem}.member-card h4{margin:1rem 0 .25rem;font-size:1rem;color:var(--text-primary)}.member-email{margin:0 0 1rem;font-size:.8rem;color:var(--text-secondary)}.balance{font-size:.9rem;font-weight:600;margin-bottom:.5rem}.balance.positive{color:var(--success-color)}.balance.negative{color:var(--danger-color)}.balance.neutral{color:var(--primary-color)}.balance-amount{margin:0;font-size:1.5rem;font-weight:700;color:var(--text-primary)}.expenses-section{margin-bottom:2rem}.expenses-section h3{margin:0 0 1.5rem;font-size:1.1rem;color:var(--text-primary)}.expenses-list{display:flex;flex-direction:column;gap:1rem}.expense-item{display:flex;justify-content:space-between;align-items:center;padding:1.25rem;background:var(--bg-surface);border-radius:8px;border-left:3px solid var(--primary-color);transition:all .3s ease}.expense-item:hover{background:var(--hover-bg);transform:translate(5px)}.expense-info{flex:1}.expense-item h4{margin:0 0 .5rem;font-size:.95rem;color:var(--text-primary);font-weight:600}.expense-meta{margin:0;display:flex;gap:1rem;flex-wrap:wrap;font-size:.8rem;color:var(--text-secondary)}.expense-meta span{display:inline-block;padding:.25rem .75rem;background:var(--bg-page);border-radius:4px}.expense-amount{text-align:right}.expense-amount p{margin:0;font-size:1.2rem;font-weight:700;color:var(--text-primary)}.expense-amount small{display:block;font-size:.75rem;color:var(--text-secondary);margin-top:.25rem}.link-btn{padding:.5rem 1rem;background:#1a1a1a;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:500;font-size:.85rem;transition:all .3s ease;margin-right:.5rem}.link-btn:hover{background:#333;transform:translateY(-1px)}.link-btn.danger{background:#d32f2f}.link-btn.danger:hover{background:#c62828}.settlement-section{background:var(--bg-surface);border-radius:12px;padding:1.5rem;border:1px solid var(--border-color)}.settlement-section h3{margin:0 0 1rem;font-size:1.1rem;color:var(--text-primary)}.settlement-info p{margin:0 0 1rem;color:var(--text-secondary);font-size:.9rem}.settlement-suggestions{display:flex;flex-direction:column;gap:.75rem}.settlement-item{display:flex;align-items:center;gap:1rem;padding:.75rem;background:var(--bg-page);border-radius:6px;font-size:.9rem}.settlement-item span{font-weight:500}.arrow{color:#999;font-size:1.2rem}.settlement-item .amount{margin-left:auto;font-weight:700;color:#27ae60}.create-group-form-container{display:flex;justify-content:center;padding:2rem}.create-group-form{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 15px #00000014;max-width:500px;width:100%}.create-group-form h2{margin:0 0 1.5rem;font-size:1.5rem;color:var(--text-primary)}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text-primary);font-size:.9rem}.form-group input,.form-group textarea{width:100%;padding:.75rem;border:1px solid var(--input-border);border-radius:8px;font-size:.9rem;font-family:inherit;transition:all .3s ease;box-sizing:border-box;background:var(--input-bg);color:var(--text-primary)}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #5ea4ff1a}.member-input{display:flex;gap:.5rem;margin-bottom:.75rem}.member-input input{flex:1}.remove-btn{padding:.75rem;background:var(--danger-color);border:none;border-radius:8px;cursor:pointer;color:#fff;font-weight:600;transition:all .3s ease}.remove-btn:hover{background:var(--danger-color);opacity:.8}.form-actions{display:flex;gap:1rem;margin-top:2rem}.form-actions button{flex:1}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease;font-size:.9rem}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);opacity:.9}.btn-secondary{background:var(--border-color);color:var(--text-primary)}.btn-secondary:hover{background:var(--hover-bg)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease}.modal-content{background:var(--bg-surface);border-radius:12px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-lg);animation:slideUp .3s ease;border:1px solid var(--border-color)}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--border-color)}.modal-header h2{margin:0;font-size:1.2rem;color:var(--text-primary)}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-secondary);transition:color .3s ease}.close-btn:hover{color:var(--text-primary)}.expense-form{padding:1.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.empty-state{text-align:center;padding:2rem;color:var(--text-secondary)}@media (max-width: 1024px){.groups-section{grid-template-columns:1fr}.groups-sidebar{position:relative;top:0}.members-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.group-expenses-container{padding:1rem}.members-grid,.form-row{grid-template-columns:1fr}.group-header-section{flex-direction:column;gap:1rem}.settlement-item{flex-direction:column;gap:.5rem;text-align:center}.settlement-item .amount{margin-left:0}.groups-section{display:flex;flex-direction:column}.groups-sidebar{max-height:300px}}.login-container{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:var(--bg-page);animation:fadeIn .5s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.login-card{display:flex;flex-direction:column;justify-content:center;padding:3rem;background:var(--bg-surface);box-shadow:var(--shadow-md);position:relative;border-right:1px solid var(--border-color)}.login-header{text-align:center;margin-bottom:2rem}.login-title{margin:0;font-size:2.5rem;font-weight:700;color:var(--text-primary)}.login-subtitle{margin:.5rem 0 0;color:var(--text-secondary);font-size:1rem;font-weight:500}.login-form{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:2rem}.form-group label{font-weight:600;color:var(--text-secondary);font-size:.95rem}.form-group input{padding:.9rem;border:1px solid var(--input-border);border-radius:8px;font-size:.95rem;font-family:inherit;transition:all .3s ease;background:var(--input-bg);color:var(--text-primary)}.form-group input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #5ea4ff40}.form-group input:disabled{background:var(--bg-surface-2);cursor:not-allowed}.error-message{padding:.75rem 1rem;background:var(--bg-surface-2);color:var(--text-primary);border-radius:8px;font-size:.9rem;font-weight:500;animation:slideInDown .3s ease;border:1px solid var(--border-color)}@keyframes slideInDown{0%{transform:translateY(-10px);opacity:0}to{transform:translateY(0);opacity:1}}.login-button{padding:1rem;background:var(--primary-color);color:#fff;border:1px solid var(--primary-color);border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .3s ease;box-shadow:var(--shadow-sm);display:block;width:100%}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:var(--shadow-md)}.login-button:disabled{opacity:.6;cursor:not-allowed;background:var(--primary-color);color:#fff}.login-footer{text-align:center;border-top:1px solid var(--border-color);padding-top:1.5rem}.forgot-password{margin:0 0 1rem}.forgot-password a{color:var(--primary-color);text-decoration:none;font-weight:600;transition:color .3s ease;border-bottom:2px solid transparent}.forgot-password a:hover{color:#8cc4ff;border-bottom-color:var(--primary-color)}.signup-link{margin:0;color:var(--text-secondary);font-size:.9rem}.signup-link .link-btn{color:var(--primary-color);font-weight:600;text-decoration:none;background:none;border:none;cursor:pointer;padding:0;font-size:inherit;transition:color .3s ease;border-bottom:2px solid transparent}.signup-link .link-btn:hover{color:#8cc4ff;border-bottom-color:var(--primary-color)}.demo-info{margin-top:1.5rem;padding:1rem;background:var(--bg-surface-2);border-left:3px solid var(--primary-color);border-radius:8px;font-size:.85rem}.demo-info p{margin:0 0 .5rem;font-weight:600;color:var(--text-primary)}.demo-info small{display:block;color:var(--text-secondary);margin:.25rem 0}.login-features{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:3rem;gap:2rem;color:#000;background:linear-gradient(135deg,#f5f5f5,#fff)}.feature{text-align:center;animation:slideInUp .6s ease-out both}.feature:nth-child(2){animation-delay:.1s}.feature:nth-child(3){animation-delay:.2s}.feature:nth-child(4){animation-delay:.3s}@keyframes slideInUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.feature-icon{font-size:3rem;display:block;margin-bottom:1rem}.feature h3{margin:0 0 .5rem;font-size:1.2rem;font-weight:600}.feature p{margin:0;font-size:.9rem;opacity:.9}@media (max-width: 1024px){.login-container{grid-template-columns:1fr}.login-features{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.login-card{padding:2rem}}@media (max-width: 768px){.login-container{grid-template-columns:1fr;min-height:auto;padding:1rem}.login-card{padding:1.5rem;margin-bottom:2rem;border-radius:12px}.login-title{font-size:1.8rem}.login-features{display:grid;grid-template-columns:1fr;padding:1.5rem;gap:1.5rem}.feature-icon{font-size:2.5rem}.feature h3{font-size:1rem}}.reports-container{max-width:1200px;margin:0 auto;padding:2rem;background:var(--bg-page);color:var(--text-primary)}.reports-header{margin-bottom:2rem}.reports-header h1{font-size:2rem;color:var(--text-primary);margin-bottom:.5rem}.reports-header p{color:var(--text-secondary);font-size:.95rem}.reports-filters{display:flex;gap:1rem;margin-bottom:2rem;background:var(--bg-surface);padding:1.5rem;border-radius:8px;align-items:flex-end;flex-wrap:wrap;border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}.filter-group{display:flex;flex-direction:column;gap:.5rem}.filter-group label{font-weight:600;color:var(--text-secondary);font-size:.9rem}.filter-group select{padding:.75rem 1rem;border:1px solid var(--input-border);border-radius:6px;background:var(--input-bg);color:var(--text-primary);cursor:pointer;font-size:.9rem;transition:all .3s ease}.filter-group select:hover{border-color:var(--primary-color)}.filter-group select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #5ea4ff40}.report-button{padding:.75rem 1.5rem;background:var(--primary-color);color:#fff;border:1px solid var(--primary-color);border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease}.report-button:hover{background:var(--primary-color);opacity:.8;border-color:var(--primary-color);box-shadow:var(--shadow-md)}.report-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.report-card{background:var(--bg-surface);border:2px solid var(--border-color);border-radius:8px;padding:1.5rem;transition:all .3s ease}.report-card:hover{box-shadow:var(--shadow-md);transform:translateY(-4px)}.card-label{font-size:.85rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem;font-weight:600}.card-amount{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.75rem}.card-change{font-size:.85rem;font-weight:600}.card-change.positive{color:var(--success-color)}.card-change.negative{color:var(--danger-color)}.card-change.neutral{color:var(--text-muted)}.report-section{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:8px;padding:2rem;margin-bottom:2rem}.report-section h2{font-size:1.5rem;color:var(--text-primary);margin-bottom:1.5rem;border-bottom:2px solid var(--border-color);padding-bottom:1rem}.report-table{width:100%;border-collapse:collapse}.report-table thead{background:var(--table-header)}.report-table th{padding:1rem;text-align:left;font-weight:600;color:var(--text-primary);border-bottom:2px solid var(--border-color);font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.report-table td{padding:1rem;border-bottom:1px solid var(--border-color);color:var(--text-primary)}.report-table tr:hover{background:var(--hover-bg)}.report-table .amount{font-weight:600;color:var(--text-primary)}.progress-bar{display:inline-block;width:100px;height:8px;background:var(--border-color);border-radius:4px;overflow:hidden;margin-right:.5rem;vertical-align:middle}.progress-fill{height:100%;background:var(--primary-color);border-radius:4px;transition:width .3s ease}.trend{font-weight:600;font-size:.85rem}.trend.positive{color:var(--success-color)}.trend.negative{color:var(--danger-color)}.trend.neutral{color:var(--text-secondary)}.monthly-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1.5rem;margin-top:1.5rem}.month-card{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:8px;padding:1rem;text-align:center;transition:all .3s ease}.month-card:hover{background:var(--hover-bg);border-color:var(--primary-color)}box-shadow: var(--shadow-sm); } .month-label{font-weight:600;color:var(--text-primary);margin-bottom:1rem;font-size:.9rem}.bar-chart{display:flex;align-items:flex-end;justify-content:center;gap:.5rem;height:80px;margin-bottom:1rem}.bar{width:25px;border-radius:4px 4px 0 0;transition:all .3s ease}.bar.income{background:var(--success-color)}.bar.expense{background:var(--danger-color)}.bar:hover{opacity:.8}.month-legend{font-size:.75rem;color:var(--text-secondary)}.legend-item{display:flex;align-items:center;justify-content:center;gap:.3rem;margin-top:.5rem}.legend-color{display:inline-block;width:8px;height:8px;border-radius:2px}.legend-color.income{background:var(--success-color)}.legend-color.expense{background:var(--danger-color)}.transactions-list{display:flex;flex-direction:column;gap:.75rem}.transaction-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:var(--bg-surface);border-radius:6px;transition:all .3s ease}.transaction-item:hover{background:var(--hover-bg);border:1px solid var(--border-color)}.txn-info{flex:1}.txn-name{font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.txn-date{font-size:.85rem;color:var(--text-muted)}.txn-amount{font-weight:600;color:var(--text-primary);font-size:1rem}@media (max-width: 768px){.reports-container{padding:1rem}.reports-header h1{font-size:1.5rem}.reports-filters{flex-direction:column}.filter-group,.filter-group select,.report-button{width:100%}.report-cards{grid-template-columns:1fr}.report-table{font-size:.85rem}.report-table th,.report-table td{padding:.75rem .5rem}.monthly-comparison{grid-template-columns:repeat(3,1fr)}}.badge{display:inline-block;padding:.35rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.badge.income{background:var(--success-color);color:#fff;border:1px solid var(--success-color)}.badge.expense{background:var(--danger-color);color:#fff;border:1px solid var(--danger-color)}.report-table .amount.income{color:var(--success-color);font-weight:600}.report-table .amount.expense{color:var(--danger-color);font-weight:600}.settings-container{max-width:1000px;margin:0 auto;padding:2rem;background:var(--bg-page);color:var(--text-primary)}.settings-header{margin-bottom:2rem}.settings-header h1{font-size:2rem;color:var(--text-primary);margin-bottom:.5rem}.settings-header p{color:var(--text-secondary);font-size:.95rem}.settings-section{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:8px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-sm)}.settings-section h2{font-size:1.5rem;color:var(--text-primary);margin-bottom:1.5rem;border-bottom:2px solid var(--border-color);padding-bottom:1rem}.settings-section.about{border-top:3px solid var(--primary-color)}.settings-items{display:flex;flex-direction:column;gap:1.5rem}.settings-item{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:var(--bg-surface);border-radius:6px;border:1px solid var(--border-color);transition:all .3s ease}.settings-item:hover{background:var(--hover-bg);border-color:var(--border-color)}.item-info h3{color:var(--text-primary);margin:0 0 .25rem;font-size:1rem;font-weight:600}.item-info p{color:var(--text-secondary);margin:0;font-size:.85rem}.settings-select{padding:.75rem 1rem;border:1px solid var(--input-border);border-radius:6px;background:var(--input-bg);color:var(--text-primary);cursor:pointer;font-size:.9rem;min-width:150px;transition:all .3s ease}.settings-select:hover{border-color:var(--primary-color)}.settings-select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #5ea4ff1a}.settings-button{padding:.75rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:all .3s ease;white-space:nowrap}.settings-button:hover{background:var(--primary-color);opacity:.8;box-shadow:var(--shadow-md)}.theme-selector{display:flex;gap:1rem}.theme-button{padding:.75rem 1.5rem;background:var(--bg-surface);color:var(--text-primary);border:2px solid var(--border-color);border-radius:6px;cursor:pointer;font-weight:500;transition:all .3s ease}.theme-button:hover{border-color:var(--primary-color)}.theme-button.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.settings-toggle{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:var(--bg-surface);border-radius:6px;border:1px solid var(--border-color);transition:all .3s ease}.settings-toggle:hover{background:var(--hover-bg);border-color:var(--primary-color)}.toggle-switch{position:relative;display:inline-flex;align-items:center;cursor:pointer}.toggle-switch input{display:none}.slider{display:inline-block;width:50px;height:28px;background:var(--border-color);border-radius:14px;position:relative;transition:background .3s ease;border:2px solid var(--text-muted)}.toggle-switch input:checked+.slider{background:var(--success-color);border-color:var(--success-color)}.slider:after{content:"";position:absolute;width:22px;height:22px;left:2px;top:2px;background:var(--bg-page);border-radius:50%;transition:left .3s ease}.toggle-switch input:checked+.slider:after{left:24px}.about-info{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:6px;padding:1.5rem}.about-item{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;border-bottom:1px solid var(--border-color)}.about-item:last-child{border-bottom:none}.about-item span:first-child{color:var(--text-primary);font-weight:700;font-size:.95rem}.about-item span:last-child{color:var(--text-primary);font-weight:500;font-size:.95rem}.about-links{display:flex;flex-wrap:wrap;gap:1.5rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border-color)}.about-links a{color:var(--primary-color);text-decoration:none;font-weight:500;transition:all .3s ease;border-bottom:2px solid transparent;padding-bottom:.25rem}.about-links a:hover{color:var(--text-primary);border-bottom-color:var(--primary-color)}.settings-actions{display:flex;gap:1rem;margin-top:2rem;padding-top:2rem;border-top:2px solid var(--border-color)}.save-button{padding:.75rem 1.5rem;background:var(--primary-color);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease}.save-button:hover{background:var(--primary-color);opacity:.8;box-shadow:var(--shadow-md)}.reset-button{padding:.75rem 1.5rem;background:transparent;color:var(--text-primary);border:1px solid var(--border-color);border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease}.reset-button:hover{background:var(--hover-bg);border-color:var(--primary-color)}@media (max-width: 768px){.settings-container{padding:1rem}.settings-header h1{font-size:1.5rem}.settings-item,.settings-toggle{flex-direction:column;align-items:flex-start;gap:1rem}.settings-select{width:100%}.settings-button{width:100%;text-align:center}.theme-selector{width:100%;flex-wrap:wrap}.theme-button{flex:1;min-width:100px}.toggle-switch{align-self:flex-end}.about-links{flex-direction:column;gap:.75rem}.about-links a{display:block}.settings-actions{flex-direction:column}.save-button,.reset-button{width:100%}}body.dark-mode{background-color:#1a1a1a;color:#fff}body.dark-mode .settings-container{background:#1a1a1a}body.dark-mode .settings-header h1{color:#fff}body.dark-mode .settings-header p{color:#ccc}body.dark-mode .settings-section{background:#2a2a2a;border-color:#404040}body.dark-mode .settings-section h2{color:#fff;border-bottom-color:#505050}body.dark-mode .settings-item{background:#333;border-color:#404040}body.dark-mode .settings-item h3{color:#fff}body.dark-mode .settings-item p{color:#ccc}body.dark-mode .settings-select{background:#404040;color:#fff;border-color:#505050}body.dark-mode .settings-select option{background:#404040;color:#fff}body.dark-mode .toggle-switch{background:#505050}body.dark-mode .toggle-switch.active{background:#4caf50}body.dark-mode .theme-button{background:#404040;color:#fff;border-color:#505050}body.dark-mode .theme-button.active{background:#4caf50;color:#fff;border-color:#4caf50}body.dark-mode .save-button{background:#4caf50;color:#fff}body.dark-mode .save-button:hover{background:#45a049}body.dark-mode .reset-button{background:#f44336;color:#fff}body.dark-mode .reset-button:hover{background:#da190b}body.dark-mode input[type=text],body.dark-mode input[type=email],body.dark-mode textarea{background:#404040;color:#fff;border-color:#505050}body.dark-mode input[type=text]::placeholder,body.dark-mode input[type=email]::placeholder,body.dark-mode textarea::placeholder{color:#999}@media (max-width: 768px){.settings-container{padding:1rem}.settings-header h1{font-size:1.5rem}.settings-section{padding:1.5rem;margin-bottom:1.5rem}.settings-section h2{font-size:1.2rem;margin-bottom:1rem}.settings-items{gap:1rem}.settings-item{flex-direction:column;align-items:flex-start;padding:1rem;gap:1rem}.settings-select{width:100%;min-width:unset}.settings-button{width:100%}.theme-selector{flex-direction:column;gap:.75rem}.theme-button{width:100%;min-height:44px;padding:1rem}.toggle-switch{width:50px;height:28px}}@media (max-width: 480px){.settings-container{padding:.75rem}.settings-header h1{font-size:1.3rem}.settings-section{padding:1rem}.settings-section h2{font-size:1.1rem}.item-info h3{font-size:.95rem}.item-info p{font-size:.8rem}.settings-select,.settings-button,.theme-button{font-size:.9rem;padding:.75rem;min-height:44px}}.profile-container{max-width:1000px;margin:0 auto;padding:2rem;background:var(--bg-page);color:var(--text-primary)}.profile-header{display:flex;align-items:flex-start;gap:2rem;padding:2rem;background:var(--bg-surface);border-radius:8px;margin-bottom:2rem;border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}.profile-avatar{flex-shrink:0}.avatar-initial{width:120px;height:120px;border-radius:50%;background:var(--primary-color);color:#0c1116;display:flex;align-items:center;justify-content:center;font-size:2.5rem;font-weight:700;box-shadow:var(--shadow-sm)}.profile-info{flex:1;display:flex;flex-direction:column;justify-content:center}.profile-info h1{font-size:2rem;color:var(--text-primary);margin:0 0 .5rem}.profile-email{color:var(--text-secondary);margin-bottom:1rem;font-size:.95rem}.edit-button{align-self:flex-start;padding:.75rem 1.5rem;background:var(--primary-color);color:#fff;border:1px solid var(--primary-color);border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease}.edit-button:hover{background:var(--hover-bg);color:var(--text-primary);box-shadow:var(--shadow-sm);border-color:var(--primary-color)}.edit-button.cancel{background:var(--border-color);color:var(--text-primary)}.edit-button.cancel:hover{background:var(--hover-bg)}.profile-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:8px;padding:1.5rem;text-align:center;box-shadow:var(--shadow-sm)}.stat-label{font-size:.85rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem;font-weight:600}.stat-value{font-size:1.75rem;font-weight:700;color:var(--text-primary)}.profile-section{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:8px;padding:2rem;margin-bottom:2rem;box-shadow:var(--shadow-sm)}.profile-section h2{font-size:1.5rem;color:var(--text-primary);margin-bottom:1.5rem;border-bottom:2px solid var(--border-color);padding-bottom:1rem}.profile-section.danger{border-color:var(--border-color);background:var(--bg-surface-2)}.profile-section.danger h2{color:var(--text-secondary);border-bottom-color:var(--border-color)}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group.full-width{grid-column:1 / -1}.form-group label{font-weight:600;color:var(--text-secondary);font-size:.9rem}.form-group input,.form-group textarea{padding:.75rem 1rem;border:1px solid var(--input-border);border-radius:6px;font-size:.95rem;color:var(--text-primary);background:var(--input-bg);transition:all .3s ease;font-family:inherit}.form-group input:disabled,.form-group textarea:disabled{background:var(--bg-surface-2);color:var(--text-muted);cursor:not-allowed}.form-group input:hover:not(:disabled),.form-group textarea:hover:not(:disabled){border-color:var(--primary-color)}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #5ea4ff40}.form-group textarea{resize:vertical;min-height:100px}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.save-button{padding:.75rem 1.5rem;background:var(--primary-color);color:#0c1116;border:1px solid var(--primary-color);border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease}.save-button:hover{background:var(--hover-bg);color:var(--text-primary);box-shadow:var(--shadow-sm);border-color:var(--primary-color)}.cancel-button{padding:.75rem 1.5rem;background:var(--border-color);color:var(--text-primary);border:1px solid var(--border-color);border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease}.cancel-button:hover{background:var(--hover-bg)}.settings-list{display:flex;flex-direction:column;gap:1rem}.setting-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:var(--bg-surface);border-radius:6px;transition:all .3s ease;border:1px solid var(--border-color)}.setting-item:hover{background:var(--hover-bg);border-color:var(--border-color)}.setting-info h3{color:var(--text-primary);margin:0 0 .25rem;font-size:1rem}.setting-info p{color:var(--text-secondary);margin:0;font-size:.85rem}.setting-button{padding:.5rem 1rem;background:var(--primary-color);color:#0c1116;border:1px solid var(--primary-color);border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:600;white-space:nowrap;transition:all .3s ease}.setting-button:hover{background:var(--hover-bg);color:var(--text-primary);border-color:var(--primary-color)}.danger-actions{display:flex;gap:1rem;flex-wrap:wrap}.danger-button{padding:.75rem 1.5rem;background:var(--danger-color);color:#0c1116;border:1px solid var(--danger-color);border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease}.danger-button:hover{background:var(--hover-bg);color:var(--text-primary);box-shadow:var(--shadow-sm);border-color:var(--danger-color)}.warning-button{padding:.75rem 1.5rem;background:var(--warning-color);color:#0c1116;border:1px solid var(--warning-color);border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease}.warning-button:hover{background:var(--hover-bg);color:var(--text-primary)}@media (max-width: 768px){.profile-container{padding:1rem}.profile-header{flex-direction:column;align-items:center;text-align:center;padding:1.5rem}.profile-info h1{font-size:1.5rem}.edit-button{align-self:center}.profile-stats{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.danger-actions{flex-direction:column}.danger-button,.warning-button{width:100%}}@media (max-width: 480px){.profile-container{padding:.75rem}.profile-header{padding:1rem}.profile-avatar{width:60px;height:60px;font-size:1.5rem}.profile-info h1{font-size:1.3rem}.profile-stats{grid-template-columns:1fr;gap:1rem}.stat-box{padding:1rem}.profile-section{padding:1.5rem}.profile-section h2{font-size:1.1rem;margin-bottom:1rem}.form-group{margin-bottom:1rem}.form-group input,.form-group textarea{padding:.5rem;font-size:.9rem}.edit-button{padding:.5rem 1rem;font-size:.9rem}}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#000;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#000;text-decoration:inherit}a:hover{color:#333}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#000;color:#fff;cursor:pointer;transition:all .25s}button:hover{border-color:#333;background-color:#333}} button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}
