*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background-color:#f5f5f5;color:#333;line-height:1.6}.app{display:flex;min-height:100vh}.sidebar{width:250px;background:#1a1a2e;color:#fff;padding:20px 0;position:fixed;height:100vh;overflow-y:auto}.sidebar-header{padding:0 20px 20px;border-bottom:1px solid #333;margin-bottom:20px}.sidebar h1{font-size:1.5rem;margin:0}.language-switcher{display:flex;gap:4px}.lang-btn{padding:4px 8px;font-size:.75rem;font-weight:600;border:1px solid #4ecca3;background:transparent;color:#4ecca3;border-radius:4px;cursor:pointer;transition:all .2s}.lang-btn:hover{background:#4ecca333}.lang-btn.active{background:#4ecca3;color:#1a1a2e}.sidebar nav ul{list-style:none}.nav-group{margin-top:16px}.nav-group-header{padding:8px 20px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#666}.sidebar nav a{display:block;padding:12px 20px;color:#aaa;text-decoration:none;transition:all .3s}.sidebar nav a:hover,.sidebar nav a.active{background:#16213e;color:#fff;border-left:3px solid #4ecca3}.main-content{flex:1;margin-left:250px;padding:30px}.page-header{margin-bottom:30px}.page-header h1{font-size:2rem;color:#1a1a2e}.card{background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000001a;padding:20px;margin-bottom:20px}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.card-title{font-size:1.2rem;font-weight:600;color:#1a1a2e}.grid{display:grid;gap:20px}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}.stat-card{text-align:center}.stat-value{font-size:1.8rem;font-weight:700;color:#1a1a2e}.stat-value.positive{color:#4ecca3}.stat-value.negative{color:#e74c3c}.stat-label{font-size:.9rem;color:#666;margin-top:5px}.form-group{margin-bottom:15px}.form-group label{display:block;margin-bottom:5px;font-weight:500;color:#333}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:5px;font-size:1rem}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#4ecca3}.btn{padding:10px 20px;border:none;border-radius:5px;cursor:pointer;font-size:1rem;transition:all .3s}.btn-primary{background:#4ecca3;color:#fff}.btn-primary:hover{background:#3db892}.btn-secondary{background:#666;color:#fff}.btn-secondary:hover{background:#555}.btn-danger{background:#e74c3c;color:#fff}.btn-danger:hover{background:#c0392b}.btn-sm,.btn-small{padding:5px 10px;font-size:.85rem}.btn-group{display:flex;gap:5px}.badge{display:inline-block;padding:4px 8px;font-size:.75rem;font-weight:600;border-radius:4px;text-transform:capitalize;background:#e0e0e0;color:#333}.badge-success{background:#e8f5e9;color:#2e7d32}.badge-warning{background:#fff3e0;color:#ef6c00}.badge-error{background:#ffebee;color:#c62828}.alert{padding:12px 16px;border-radius:5px;font-size:.9rem}.alert-error{background:#ffebee;color:#c62828;border:1px solid #ef9a9a}.alert-success{background:#e8f5e9;color:#2e7d32;border:1px solid #a5d6a7}.summary-card{background:#f9f9f9;border-radius:8px;padding:12px 16px;display:flex;flex-direction:column;gap:4px}.summary-label{font-size:.8rem;color:#666;text-transform:uppercase;letter-spacing:.5px}.summary-value{font-size:1.25rem;font-weight:600;color:#1a1a2e}.tabs{display:flex;gap:0;border-bottom:2px solid #e0e0e0}.tab{padding:10px 20px;border:none;background:transparent;cursor:pointer;font-size:.95rem;color:#666;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s}.tab:hover{color:#1a1a2e;background:#f5f5f5}.tab-active{color:#4ecca3;border-bottom-color:#4ecca3;font-weight:600}.subscriptions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;max-height:400px;overflow-y:auto;padding:.5rem 0}.subscription-card{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;padding:1rem;transition:box-shadow .2s}.subscription-card:hover{box-shadow:0 2px 8px #0000001a}.subscription-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.5rem}.subscription-title{display:flex;align-items:center;gap:.5rem}.subscription-icon{width:24px;height:24px;object-fit:contain}.subscription-icon-fallback{width:24px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px}.subscription-name{font-weight:600;font-size:1.1rem;color:#1a1a2e}.subscription-category{font-size:.75rem;background:#e3f2fd;color:#1976d2;padding:2px 8px;border-radius:10px}.subscription-amount{font-size:1.5rem;font-weight:700;color:#1976d2;margin-bottom:.5rem}.subscription-details{font-size:.85rem;color:#666;margin-bottom:.5rem}.subscription-description{font-size:.8rem;color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px;text-align:left;border-bottom:1px solid #eee}.table th{background:#f9f9f9;font-weight:600;color:#1a1a2e}.table tr:hover{background:#f5f5f5}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal{background:#fff;border-radius:10px;padding:30px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.modal-large{max-width:900px}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-header h2{font-size:1.5rem;color:#1a1a2e}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#666}.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.search-container{position:relative}.search-results{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #ddd;border-radius:5px;max-height:200px;overflow-y:auto;z-index:100}.search-result-item{padding:10px;cursor:pointer;border-bottom:1px solid #eee}.search-result-item:hover{background:#f5f5f5}.list-item{display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid #eee}.list-item:last-child{border-bottom:none}.list-item-info{flex:1}.list-item-title{font-weight:600;color:#1a1a2e}.list-item-subtitle{font-size:.9rem;color:#666}.list-item-actions{display:flex;gap:10px}.asset-image{width:60px;height:60px;border-radius:5px;object-fit:cover;margin-right:15px}.text-right{text-align:right}.text-center{text-align:center}.mb-20{margin-bottom:20px}.flex{display:flex}.flex-between{display:flex;justify-content:space-between;align-items:center}.gap-10{gap:10px}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a1a2e,#16213e);padding:20px}.auth-container{background:#fff;border-radius:10px;padding:40px;width:100%;max-width:450px;box-shadow:0 10px 40px #0000004d}.auth-container h1{text-align:center;color:#1a1a2e;margin-bottom:10px;font-size:2rem}.auth-container h2{text-align:center;color:#666;margin-bottom:30px;font-size:1.2rem;font-weight:400}.auth-error{background:#fee;color:#c00;padding:12px;border-radius:5px;margin-bottom:20px;text-align:center;font-size:.9rem}.auth-link{text-align:center;margin-top:20px;color:#666}.auth-link a{color:#4ecca3;text-decoration:none;font-weight:500}.auth-link a:hover{text-decoration:underline}.btn-full{width:100%}.form-row{display:flex;gap:15px}.form-row .form-group{flex:1}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper input{flex:1;padding-right:45px}.password-toggle{position:absolute;right:10px;background:none;border:none;padding:5px;cursor:pointer;color:#666;display:flex;align-items:center;justify-content:center}.password-toggle:hover{color:#333}.password-strength{margin-top:8px}.password-strength-bar{height:4px;background:#e0e0e0;border-radius:2px;overflow:hidden}.password-strength-fill{height:100%;transition:width .3s ease,background-color .3s ease}.password-strength-text{font-size:.75rem;margin-top:4px;font-weight:500}.password-requirements{font-size:.7rem;color:#888;margin-top:2px}.auth-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f5f5f5}.spinner{width:40px;height:40px;border:4px solid #eee;border-top-color:#4ecca3;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sidebar-footer{position:absolute;bottom:0;left:0;right:0;padding:15px 20px;border-top:1px solid #333;background:#1a1a2e}.sidebar-footer .language-switcher{justify-content:center;margin-bottom:12px}.user-email{display:block;color:#aaa;font-size:.85rem;margin-bottom:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn-logout{width:100%;background:transparent;border:1px solid #4ecca3;color:#4ecca3;padding:8px 16px;border-radius:5px;cursor:pointer;transition:all .3s}.btn-logout:hover{background:#4ecca3;color:#1a1a2e}.two-factor-card{max-width:400px}.auth-header{text-align:center;margin-bottom:30px}.auth-header h1{font-size:1.8rem;color:#1a1a2e;margin-bottom:8px}.auth-header p{color:#666;font-size:1rem}.two-factor-content{text-align:center}.two-factor-icon{margin-bottom:20px;color:#4ecca3}.two-factor-description{color:#666;margin-bottom:24px;font-size:.95rem}.two-factor-form{margin-bottom:20px}.code-inputs{display:flex;justify-content:center;gap:8px;margin-bottom:20px}.code-input{width:48px;height:56px;font-size:24px;font-weight:600;text-align:center;border:2px solid #ddd;border-radius:8px;outline:none;transition:border-color .2s}.code-input:focus{border-color:#4ecca3}.code-input:disabled{background:#f5f5f5;color:#999}.two-factor-actions{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.btn-link{background:none;border:none;color:#4ecca3;cursor:pointer;font-size:.9rem;padding:8px}.btn-link:hover:not(:disabled){text-decoration:underline}.btn-link:disabled{color:#999;cursor:not-allowed}.btn-cancel{color:#999}.two-factor-help{font-size:.85rem;color:#888}.error-message{background:#fee;color:#c00;padding:10px;border-radius:5px;margin-bottom:15px;font-size:.9rem}.success-message{background:#e8f5e9;color:#2e7d32;padding:10px;border-radius:5px;margin-bottom:15px;font-size:.9rem}.profile-content{max-width:800px}.profile-section{margin-bottom:24px}.profile-section h2{font-size:1.2rem;color:#1a1a2e;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #eee}.profile-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}.profile-info-item{display:flex;flex-direction:column;gap:4px}.profile-info-item label{font-size:.8rem;color:#666;text-transform:uppercase;letter-spacing:.5px}.profile-info-item span{font-size:1rem;color:#333;font-weight:500}.two-factor-settings{display:flex;flex-direction:column;gap:24px}.two-factor-status{display:flex;flex-direction:column;gap:8px}.status-indicator{display:flex;align-items:center;gap:12px}.status-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:20px;font-size:.85rem;font-weight:600}.status-badge.enabled{background:#e8f5e9;color:#2e7d32}.status-badge.disabled{background:#f5f5f5;color:#666}.status-description{color:#666;font-size:.9rem;line-height:1.5}.two-factor-actions{display:flex;gap:12px}.two-factor-confirm{background:#f9f9f9;padding:24px;border-radius:8px}.confirm-instructions{color:#333;margin-bottom:16px;font-size:.95rem}.confirm-actions{display:flex;justify-content:center;gap:12px;margin-top:16px}.two-factor-method{padding-top:16px;border-top:1px solid #eee}.two-factor-method label{display:block;font-size:.9rem;color:#333;font-weight:500;margin-bottom:12px}.method-options{display:flex;gap:12px}.method-option{display:flex;align-items:center;gap:8px;padding:12px 20px;border:2px solid #ddd;border-radius:8px;cursor:default;color:#666}.method-option.active{border-color:#4ecca3;background:#f0fdf4;color:#1a1a2e}.method-option.disabled{opacity:.6;background:#f5f5f5}.method-option .coming-soon{font-size:.7rem;background:#e0e0e0;color:#666;padding:2px 6px;border-radius:4px}.user-profile-link{display:flex;align-items:center;gap:8px;color:#aaa;text-decoration:none;margin-bottom:10px;transition:color .2s}.user-profile-link:hover{color:#4ecca3}.user-profile-link .user-email{margin-bottom:0}.two-factor-badge{display:flex;align-items:center;justify-content:center;color:#4ecca3}@media (max-width: 768px){.sidebar{width:100%;height:auto;position:relative}.main-content{margin-left:0}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.form-row{flex-direction:column}.sidebar-footer{position:relative}.code-inputs{gap:4px}.code-input{width:40px;height:48px;font-size:20px}.method-options{flex-direction:column}}
