*{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;background:linear-gradient(135deg,#f5f7fa,#e8e9f3);color:#2d3748;line-height:1.6;min-height:100vh}h1,h2,h3,h4,h5,h6{margin:0;font-weight:600;line-height:1.2}p{margin:0}ul{margin:0;padding:0}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#a0aec0}::selection{background-color:#667eea;color:#fff}:focus-visible{outline:2px solid #667eea;outline-offset:2px}button,input{font-family:inherit}.fade-in{animation:fadeIn .3s ease-out}.container{max-width:1400px;margin:0 auto;padding:0 2rem}.card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000d}.text-muted{color:#718096}.text-primary{color:#667eea}.text-success{color:#48bb78}.text-danger{color:#f56565}@media(max-width:768px){body{font-size:14px}.container{padding:0 1rem}}.search-page{min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#e8e9f3);padding:4rem 2rem 2rem;display:flex;justify-content:center;align-items:flex-start}.search-container{display:flex;flex-direction:column;gap:1.5rem;width:100%;max-width:600px}.search-form{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000d;display:flex;flex-direction:column;gap:1rem}.search-form label{font-size:.875rem;font-weight:600;color:#2d3748;margin-bottom:.5rem}.search-form input{padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s;outline:none}.search-form input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.search-form button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;padding:.875rem 1.5rem;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 6px #667eea4d}.search-form button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 12px #667eea66}.search-form button:disabled{opacity:.6;cursor:not-allowed}.search-form section{margin-top:1.5rem;padding-top:1.5rem;border-top:2px solid #e2e8f0}.search-form h2{font-size:1.5rem;font-weight:600;color:#2d3748;margin-bottom:.5rem}.search-form h3{font-size:1.125rem;font-weight:600;color:#4a5568;margin:1rem 0 .5rem}.search-form p{font-size:.875rem;color:#718096;margin-bottom:1rem}.search-form ul{list-style:none;padding:0;margin:0}.search-form li{padding:.75rem;background:#f7fafc;border-radius:8px;margin-bottom:.5rem;font-size:.875rem;color:#4a5568}.search-form li strong{color:#2d3748;font-weight:600}.add-stock-wrapper{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000d}.add-stock-form{display:flex;flex-direction:column;gap:1rem}.add-stock-form label{font-size:.875rem;font-weight:600;color:#2d3748;display:flex;flex-direction:column;gap:.5rem}.add-stock-form input{padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s;outline:none}.add-stock-form input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.add-stock-form input:disabled{background-color:#f7fafc;cursor:not-allowed}.total-value{background:linear-gradient(135deg,#667eea15,#764ba215);border-left:4px solid #667eea;padding:1rem;border-radius:8px;font-size:1rem;font-weight:600;color:#2d3748;margin:0}.add-stock-form button{background:linear-gradient(135deg,#48bb78,#38a169);color:#fff;border:none;border-radius:8px;padding:.875rem 1.5rem;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 6px #48bb784d;margin-top:.5rem}.add-stock-form button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 12px #48bb7866}.add-stock-form button:disabled{opacity:.6;cursor:not-allowed;transform:none}.loading-text{color:#667eea;font-size:.875rem;text-align:center;margin:1rem 0;font-weight:500}.error-text{color:#f56565;font-size:.875rem;background-color:#fff5f5;border-left:4px solid #f56565;padding:.75rem 1rem;border-radius:8px;margin:1rem 0}@media(max-width:768px){.search-page{padding:2rem 1rem 1rem}.search-container{max-width:100%}.search-form,.add-stock-wrapper{padding:1.5rem}}@media(max-width:480px){.search-form,.add-stock-wrapper{padding:1rem}.search-form h2{font-size:1.25rem}.search-form button,.add-stock-form button{padding:.75rem 1.25rem;font-size:.9375rem}}.navbar-container{background:#fff;box-shadow:0 2px 4px #0000000f;position:sticky;top:0;z-index:1000}.nav-bar{padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto}.nav-bar ul{list-style:none;display:flex;gap:.75rem;margin:0;padding:0;align-items:center}.nav-bar a{text-decoration:none;color:#4a5568;background-color:#f7fafc;padding:.625rem 1.25rem;border-radius:8px;transition:all .2s;font-weight:500;font-size:.875rem;border:1px solid transparent}.nav-bar a:hover{background-color:#edf2f7;color:#2d3748;transform:translateY(-1px);border-color:#e2e8f0}.nav-bar a:active{transform:translateY(0)}.nav-bar a.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:transparent}.nav-bar a.active:hover{background:linear-gradient(135deg,#5568d3,#6a3f8f);color:#fff}@media(max-width:768px){.nav-bar{padding:.75rem 1rem}.nav-bar ul{gap:.5rem}.nav-bar a{padding:.5rem .875rem;font-size:.8125rem}}@media(max-width:480px){.nav-bar ul{flex-wrap:wrap;justify-content:center}.nav-bar a{padding:.5rem .75rem;font-size:.75rem}}.auth-page{min-height:100vh;display:flex;background-color:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif}.auth-left-panel{flex:1;background:linear-gradient(135deg,#f8f9fa,#e9ecef);padding:4rem 3rem;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative}.auth-brand{position:absolute;top:3rem;left:3rem;display:flex;align-items:center;gap:.75rem}.auth-brand-icon{width:36px;height:36px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.125rem}.auth-brand-name{font-size:1.25rem;font-weight:700;color:#2d3748;letter-spacing:-.5px}.auth-info-content{width:100%;max-width:400px}.auth-balance-card{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 4px 12px #00000014;margin-bottom:2rem}.balance-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;color:#718096;font-size:.75rem;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.balance-icon{width:32px;height:32px;background:linear-gradient(135deg,#667eea20,#764ba220);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#667eea;font-size:1rem}.balance-amount{font-size:2rem;font-weight:700;color:#2d3748;margin-bottom:1.5rem}.balance-chart{display:flex;justify-content:space-between;align-items:center}.chart-placeholder{width:120px;height:120px;border-radius:50%;background:conic-gradient(#667eea 0deg 120deg,#48bb78 120deg 240deg,#ed8936 240deg 300deg,#f56565 300deg 360deg);display:flex;align-items:center;justify-content:center;position:relative}.chart-center{width:80px;height:80px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.chart-days{font-size:1.5rem;font-weight:700;color:#2d3748}.chart-label{font-size:.625rem;color:#718096;text-transform:uppercase}.transaction-btn{width:56px;height:56px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50%;color:#fff;font-size:1.5rem;cursor:pointer;box-shadow:0 4px 12px #667eea66;transition:transform .2s;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}.transaction-btn:hover{transform:scale(1.05)}.transaction-info{text-align:center}.transaction-label{font-size:.875rem;font-weight:600;color:#2d3748}.transaction-date{font-size:.75rem;color:#a0aec0;margin-top:.25rem}.auth-welcome{margin-top:2rem}.auth-welcome h2{font-size:1.75rem;font-weight:700;color:#2d3748;margin-bottom:.5rem}.auth-welcome p{color:#718096;font-size:.9375rem;line-height:1.6;margin-bottom:.5rem}.carousel-dots{display:flex;gap:.5rem;margin-top:2rem;justify-content:center}.carousel-dot{width:8px;height:8px;border-radius:50%;background:#cbd5e0;cursor:pointer;transition:all .3s;border:none;padding:0}.carousel-dot.active{background:#2d3748;width:24px;border-radius:4px}.auth-right-panel{flex:1;background:#fff;padding:4rem 3rem;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow-y:auto}.auth-form-container{width:100%;max-width:400px}.auth-form-header{margin-bottom:2rem}.auth-form-header h1{font-size:2rem;font-weight:700;color:#2d3748;margin-bottom:.5rem}.auth-form-header p{color:#a0aec0;font-size:.9375rem}.auth-form{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:600;color:#4a5568;display:none}.input-wrapper{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:1rem;color:#a0aec0;font-size:1.125rem;pointer-events:none}.form-group input{width:100%;padding:.875rem 1rem .875rem 3rem;border:2px solid #e2e8f0;border-radius:10px;font-size:.9375rem;transition:all .2s;outline:none;background-color:#f7fafc}.form-group input:focus{border-color:#667eea;background-color:#fff;box-shadow:0 0 0 3px #667eea1a}.form-group input::placeholder{color:#cbd5e0}.password-toggle{position:absolute;right:1rem;color:#a0aec0;background:none;border:none;cursor:pointer;font-size:1rem;padding:0}.password-toggle:hover{color:#718096}.forgot-password-link{text-align:right;margin-top:-.5rem}.forgot-password-link a{color:#667eea;text-decoration:none;font-size:.875rem;font-weight:500}.forgot-password-link a:hover{text-decoration:underline}.auth-submit-btn{width:100%;background:#007bff;color:#fff;border:none;border-radius:10px;padding:1rem;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #007bff4d;margin-top:.5rem}.auth-submit-btn:hover:not(:disabled){background:#0069d9;transform:translateY(-1px);box-shadow:0 4px 12px #007bff66}.auth-submit-btn:disabled{opacity:.6;cursor:not-allowed}.auth-submit-btn.loading{position:relative;color:transparent}.auth-submit-btn.loading:after{content:"";position:absolute;width:20px;height:20px;top:50%;left:50%;margin-left:-10px;margin-top:-10px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-divider{display:flex;align-items:center;text-align:center;margin:1.5rem 0}.auth-divider:before,.auth-divider:after{content:"";flex:1;border-bottom:1px solid #e2e8f0}.auth-divider span{padding:0 1rem;color:#a0aec0;font-size:.875rem}.social-auth-buttons{display:flex;gap:1rem}.social-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem;border:2px solid #e2e8f0;border-radius:10px;background:#fff;color:#4a5568;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.social-btn:hover{border-color:#cbd5e0;background-color:#f7fafc}.social-btn img{width:20px;height:20px}.auth-form-footer{margin-top:2rem;text-align:center;font-size:.875rem;color:#718096}.auth-form-footer a{color:#667eea;text-decoration:none;font-weight:600;margin-left:.25rem}.auth-form-footer a:hover{text-decoration:underline}.auth-copyright{margin-top:3rem;text-align:center;font-size:.75rem;color:#cbd5e0}.error-message{background:#fff5f5;border-left:4px solid #f56565;color:#c53030;padding:.75rem 1rem;border-radius:8px;font-size:.875rem;margin-bottom:1rem}.success-message{background:#f0fff4;border-left:4px solid #48bb78;color:#2f855a;padding:.75rem 1rem;border-radius:8px;font-size:.875rem;margin-bottom:1rem}.password-strength{margin-top:.5rem}.password-strength-bar{height:4px;background-color:#e2e8f0;border-radius:2px;overflow:hidden;margin-bottom:.5rem}.password-strength-fill{height:100%;transition:width .3s,background-color .3s}.password-strength-fill.weak{width:33%;background-color:#f56565}.password-strength-fill.medium{width:66%;background-color:#ed8936}.password-strength-fill.strong{width:100%;background-color:#48bb78}.password-strength-text{font-size:.75rem;color:#718096}@media(max-width:1024px){.auth-left-panel,.auth-right-panel{padding:3rem 2rem}}@media(max-width:768px){.auth-page{flex-direction:column}.auth-left-panel{display:none}.auth-right-panel{padding:2rem 1.5rem}.auth-brand{position:static;margin-bottom:2rem}}@media(max-width:480px){.auth-right-panel{padding:1.5rem 1rem}.auth-form-header h1{font-size:1.75rem}.auth-form-container{max-width:100%}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.auth-form-container{animation:fadeIn .4s ease-out}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.stock-list{display:flex;flex-direction:column;width:100%;background-color:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000d}.stock-list-card-header{font-size:1.25rem;font-weight:600;color:#2d3748;margin:0 0 1rem}.stock-list-card-refresh{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.stock-list-card-refresh button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;padding:.625rem 1.25rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 2px 4px #667eea66}.stock-list-card-refresh button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 8px #667eea80}.stock-list-card-refresh button:disabled{opacity:.6;cursor:not-allowed}.stock-list-card-refresh span{font-size:.75rem;color:#718096}.stock-list-card{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}.stock-list-card-items{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:1.25rem;list-style:none;color:#fff;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 6px #667eea4d}.stock-list-card-items:nth-child(2){background:linear-gradient(135deg,#f093fb,#f5576c)}.stock-list-card-items:nth-child(3){background:linear-gradient(135deg,#ffecd2,#fcb69f);color:#2d3748}.stock-list-card-items:nth-child(4){background:linear-gradient(135deg,#a8edea,#fed6e3);color:#2d3748}.stock-list-card-items:nth-child(5){background:linear-gradient(135deg,#d299c2,#fef9d7);color:#2d3748}.stock-list-card-items:hover{transform:translateY(-4px);box-shadow:0 8px 16px #00000026}.stock-list-card-items>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.stock-list-card-items>div:first-child p{font-size:1.125rem;font-weight:700;margin:0;letter-spacing:.5px}.stock-list-card-items>div:first-child span{font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:6px;background:#fff3}.stock-list-card-items>p:first-of-type{font-size:.75rem;font-weight:500;margin:0 0 .5rem;opacity:.9;text-transform:uppercase;letter-spacing:.5px}.stock-list-card-items-value{display:block;font-size:1.75rem;font-weight:700;margin-top:.25rem;line-height:1.2}.stock-list-card-items-historical{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.2)}.stock-list-card-items-historical p{font-size:.75rem;margin:.25rem 0;opacity:.9}.stock-list-card-items:before{content:"";position:absolute;top:0;right:0;width:100px;height:100px;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);border-radius:50%;transform:translate(30%,-30%)}@media(max-width:768px){.stock-list-card{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.stock-list,.stock-list-card-items{padding:1rem}.stock-list-card-items-value{font-size:1.5rem}}@media(max-width:480px){.stock-list-card{grid-template-columns:1fr}}.pie-chart-card{display:flex;flex-direction:column;background-color:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000d;width:100%;min-height:450px;transition:box-shadow .3s}.pie-chart-card:hover{box-shadow:0 8px 16px #0000001a,0 4px 8px #0000000f}.pie-chart-card h2{font-size:1.25rem;font-weight:600;color:#2d3748;margin:0 0 1.5rem;text-align:left}.pie-chart-card p{text-align:center;color:#718096;font-size:.875rem;margin:2rem 0}.pie-chart-card .recharts-wrapper{margin:0 auto}.pie-chart-card .recharts-legend-wrapper{padding-top:1rem}.pie-chart-card .recharts-legend-item{margin-bottom:.5rem}.pie-chart-card .recharts-legend-item-text{font-size:.875rem;color:#4a5568;font-weight:500}@media(max-width:768px){.pie-chart-card{padding:1rem;min-height:400px}.pie-chart-card h2{font-size:1.125rem}}.portfolio-chart-container{display:flex;flex-direction:column;background-color:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #00000012,0 2px 4px #0000000d;width:100%;min-height:450px;transition:box-shadow .3s}.portfolio-chart-container:hover{box-shadow:0 8px 16px #0000001a,0 4px 8px #0000000f}.portfolio-chart-title{font-size:1.25rem;font-weight:600;color:#2d3748;margin:0 0 1.5rem;text-align:left}.portfolio-line-chart{flex:1;min-height:350px}.chart-loading{text-align:center;color:#718096;font-size:.875rem;padding:2rem}.portfolio-chart-container canvas{max-height:350px}@media(max-width:768px){.portfolio-chart-container{padding:1rem;min-height:400px}.portfolio-chart-title{font-size:1.125rem}.portfolio-line-chart{min-height:300px}.portfolio-chart-container canvas{max-height:300px}}.dashboard{min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#e8e9f3);padding:2rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif}.dashboard h1{font-size:2rem;font-weight:600;color:#2d3748;margin-bottom:2rem;padding:0}.dashboard-container{display:flex;flex-direction:column;gap:1.5rem;max-width:1400px;margin:0 auto}.dashboard-stocklist{display:flex;justify-content:center;width:100%}.dashboard-container-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem;width:100%}@media(max-width:1024px){.dashboard-container-items{grid-template-columns:1fr}.dashboard{padding:1rem}}@media(max-width:768px){.dashboard h1{font-size:1.5rem}.dashboard-container-items{grid-template-columns:1fr}}
