:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#f5f5f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;overflow-x:hidden}body{background-color:#f5f5f5}#root{min-height:100vh;width:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}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:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.app{min-height:100vh;min-height:100dvh;width:100%;height:100%;display:flex;flex-direction:column;background:linear-gradient(135deg,#f4c430,#f5d547,#fdb913)}.pin-auth{display:flex;align-items:center;justify-content:center;flex:1;padding:2rem}.pin-container{background:transparent;padding:1.5rem;text-align:center;max-width:400px;width:100%;position:relative}.logo-container{margin-bottom:1.5rem}.app-logo{width:180px;height:180px;object-fit:contain;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.pin-container h1{font-size:2.5rem;margin-bottom:1rem;color:#2d1f0f;text-shadow:0 2px 4px rgba(0,0,0,.1)}.pin-container h2{font-size:2rem;margin-bottom:.5rem;color:#2d1f0f;text-shadow:0 2px 4px rgba(0,0,0,.1)}.pin-container p{color:#3d2f1f;margin-bottom:1.5rem;font-size:1.1rem}.pin-display{display:flex;justify-content:center;align-items:center;gap:1rem;margin:1.5rem 0;padding:.5rem 0;min-height:40px}.pin-dot{width:18px;height:18px;border-radius:50%;border:3px solid #2d1f0f;background:transparent;transition:all .3s ease}.pin-dot.filled{background:#2d1f0f;border-color:#2d1f0f;box-shadow:0 2px 4px #0003}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.pin-pad{display:grid;grid-template-columns:repeat(3,65px);gap:.75rem;margin-top:1rem;justify-content:center;margin-left:auto;margin-right:auto}.pin-button{width:65px;height:65px;min-width:65px;min-height:65px;padding:0;font-size:1.75rem;font-weight:600;background:linear-gradient(135deg,#8b5a2b,#a0652c);border:2px solid rgba(45,31,15,.2);border-radius:50%;cursor:pointer;transition:all .2s ease;color:#fff8dc;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;box-sizing:border-box;box-shadow:0 3px 10px #0003}.pin-button:hover{background:linear-gradient(135deg,#9b6a3b,#b0753c);transform:translateY(-2px);box-shadow:0 5px 15px #00000040}.pin-button:active{background:linear-gradient(135deg,#7b4a1b,#90551c);transform:scale(.95);box-shadow:0 2px 6px #00000026}.delete-button{font-size:2rem;font-weight:400;color:#fff8dc;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#c53030,#e53e3e)}.delete-button:hover{background:linear-gradient(135deg,#d54040,#f54e4e)}.delete-button:active{background:linear-gradient(135deg,#b52020,#d52e2e)}.error-message{color:#e53e3e;font-weight:600;margin:0;animation:shake .3s ease,fadeIn .3s ease;font-size:1rem}@keyframes fadeIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.dashboard{max-width:800px;margin:0 auto;padding:1rem;flex:1;width:100%;background:linear-gradient(135deg,#fff9e6,#fff8dc,#fffaed)}.dashboard.loading{display:flex;align-items:center;justify-content:center}.loading-message{font-size:1.5rem;text-align:center;color:#2d1f0f;display:flex;flex-direction:column;align-items:center;gap:1rem;text-shadow:0 1px 3px rgba(0,0,0,.1)}.loading-logo{width:100px;height:100px;object-fit:contain;animation:bounce 1s ease-in-out infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:1rem;background:#ffffffb3;border-radius:16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(139,90,43,.1)}.header-content{display:flex;align-items:center;gap:1rem}.header-logo{width:50px;height:50px;object-fit:contain}.dashboard-header h1{font-size:1.8rem;margin:0;color:#2d1f0f;text-shadow:0 1px 2px rgba(255,255,255,.3)}.logout-btn{padding:.75rem 1.5rem;background:linear-gradient(135deg,#c53030,#e53e3e);color:#fff8dc;border:none;border-radius:12px;cursor:pointer;font-weight:600;transition:all .2s}.logout-btn:hover{background:linear-gradient(135deg,#d54040,#f54e4e);transform:translateY(-1px)}.balance-card{background:linear-gradient(135deg,#4299e1,#3182ce);color:#fff;padding:1.25rem;border-radius:20px;text-align:center;margin-bottom:1.5rem;border:none}.balance-card h2{margin:0 0 .5rem;font-size:1.1rem;opacity:.95}.balance-amount{font-size:3rem;font-weight:700;margin:0}.actions{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:2rem}.action-btn{padding:1.5rem;font-size:1.2rem;font-weight:600;border:2px solid rgba(45,31,15,.2);border-radius:16px;cursor:pointer;transition:all .2s}.add-money{background:linear-gradient(135deg,#48bb78,#38a169);color:#fff}.add-money:hover{transform:translateY(-2px);background:linear-gradient(135deg,#58cb88,#48b179)}.spend-money{background:linear-gradient(135deg,#ed8936,#dd6b20);color:#fff}.spend-money:hover{transform:translateY(-2px);background:linear-gradient(135deg,#fd9946,#ed7b30)}.transactions-section{background:#ffffffb3;border-radius:16px;padding:1.5rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(139,90,43,.1)}.transactions-section h3{margin:0 0 1.5rem;color:#2d1f0f;font-size:1.4rem;text-shadow:0 1px 2px rgba(255,255,255,.3)}.transactions-list{display:flex;flex-direction:column;gap:.75rem}.no-transactions{text-align:center;color:#5d4f3f;font-style:italic;padding:2rem}.transaction-item{display:flex;align-items:center;padding:1rem;border-radius:12px;cursor:pointer;transition:all .2s;position:relative;border:2px solid transparent}.transaction-item:hover{transform:translateY(-1px);border-color:#2d1f0f33}.transaction-item.expense{background:#fed7d799;border-left:4px solid #e53e3e}.transaction-item.deposit{background:#c6f6d599;border-left:4px solid #38a169}.transaction-item.initial{background:#bee3f899;border-left:4px solid #3182ce}.transaction-icon{font-size:1.5rem;margin-right:1rem}.transaction-details{flex:1}.transaction-name{font-weight:600;color:#2d1f0f;margin-bottom:.25rem}.transaction-category{color:#8b5a2b;font-size:.9rem;font-weight:600;margin-bottom:.25rem}.transaction-date{color:#5d4f3f;font-size:.85rem}.transaction-notes{color:#4d3f2f;font-size:.9rem;font-style:italic;margin-top:.25rem}.transaction-amount{font-size:1.2rem;font-weight:700;color:#2d1f0f}.locked-indicator{position:absolute;top:.5rem;right:.5rem;font-size:.8rem;opacity:.7}.modal-overlay{position:fixed;inset:0;background:#2d1f0f99;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff8dcfa;border-radius:20px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;border:2px solid rgba(139,90,43,.3)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:2px solid rgba(139,90,43,.2)}.modal-header h2{margin:0;color:#2d1f0f;font-size:1.5rem}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#5d4f3f;padding:.5rem;border-radius:50%;transition:all .2s}.close-btn:hover{background:#8b5a2b1a;color:#2d1f0f}.transaction-form{padding:1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#2d1f0f}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:2px solid rgba(139,90,43,.3);border-radius:8px;font-size:1rem;transition:border-color .2s;box-sizing:border-box;background:#ffffffb3;color:#2d1f0f}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#8b5a2b}.form-group input.error,.form-group select.error{border-color:#e53e3e}.error-text{color:#e53e3e;font-size:.85rem;margin-top:.25rem;display:block}.category-section{display:flex;gap:.5rem}.category-section select{flex:1}.add-category-btn{padding:.75rem 1rem;background:linear-gradient(135deg,#8b5a2b,#a0652c);color:#fff8dc;border:none;border-radius:8px;cursor:pointer;font-weight:600;white-space:nowrap}.new-category-form{display:flex;gap:.5rem;margin-top:.5rem;flex-wrap:wrap}.new-category-form input{flex:1;min-width:120px}.new-category-form button{padding:.5rem 1rem;border:none;border-radius:6px;cursor:pointer;font-weight:600}.amount-input{display:flex;align-items:center;border:2px solid rgba(139,90,43,.3);border-radius:8px;transition:border-color .2s;background:#ffffffb3}.amount-input:focus-within{border-color:#8b5a2b}.currency{padding:.75rem 0 .75rem .75rem;color:#5d4f3f;font-weight:600}.amount-input input{border:none;padding:.75rem .75rem .75rem 0;flex:1}.amount-input input:focus{outline:none}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1rem;border-top:2px solid rgba(139,90,43,.2)}.cancel-btn{padding:.75rem 1.5rem;background:#8b5a2b1a;color:#2d1f0f;border:2px solid rgba(139,90,43,.2);border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s}.cancel-btn:hover{background:#8b5a2b33}.submit-btn{padding:.75rem 1.5rem;background:linear-gradient(135deg,#8b5a2b,#a0652c);color:#fff8dc;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s}.submit-btn:hover{background:linear-gradient(135deg,#9b6a3b,#b0753c)}.submit-btn:disabled{background:#8b5a2b4d;cursor:not-allowed}@media (min-width: 768px){.pin-container{max-width:500px;padding:2rem}.app-logo{width:200px;height:200px}.pin-pad{grid-template-columns:repeat(3,75px);gap:1rem}.pin-button{width:75px;height:75px;min-width:75px;min-height:75px;font-size:2rem}.delete-button{font-size:2.5rem;font-weight:400}.pin-dot{width:22px;height:22px}.dashboard{padding:2rem;max-width:1000px}.header-logo{width:60px;height:60px}.loading-logo{width:120px;height:120px}.actions{gap:1.5rem}.action-btn{padding:2rem;font-size:1.4rem}.balance-amount{font-size:4rem}.transaction-item{padding:1.5rem}.modal-content{max-width:600px}.dashboard-header h1{font-size:2.2rem}.balance-card{padding:1.5rem}.transactions-section h3{font-size:1.6rem}}@media (min-width: 1024px) and (orientation: landscape){.dashboard{max-width:1200px;padding:2rem 3rem}.balance-card{padding:1.75rem}.balance-amount{font-size:5rem}.transactions-section,.transaction-item{padding:2rem}.transaction-icon{font-size:2rem}.transaction-name{font-size:1.2rem}.transaction-amount{font-size:1.5rem}}@media (max-height: 600px) and (orientation: landscape){.pin-auth{padding:.5rem}.pin-container{padding:.75rem;max-width:100%}.logo-container{margin-bottom:.5rem}.app-logo{width:60px;height:60px;animation:none}.pin-container h2{font-size:1.3rem;margin-bottom:.5rem}.pin-display{margin:.5rem 0;padding:.25rem 0;min-height:30px}.pin-dot{width:14px;height:14px}.pin-pad{grid-template-columns:repeat(3,55px);gap:.6rem;margin-top:.5rem}.pin-button{width:55px;height:55px;min-width:55px;min-height:55px;font-size:1.4rem}.delete-button{font-size:1.75rem;font-weight:400}.error-message{font-size:.85rem}}@media (hover: none){.pin-button:hover{transform:none;background:linear-gradient(135deg,#8b5a2b,#a0652c)}.logout-btn:hover,.action-btn:hover,.transaction-item:hover{transform:none}.pin-button:active,.logout-btn:active,.action-btn:active{transform:scale(.95)}}.app-footer{text-align:center;padding:.5rem 1rem;margin-top:auto}.app-footer.pin-footer{background:linear-gradient(135deg,#f4c430,#f5d547,#fdb913)}.app-footer.dashboard-footer{background:linear-gradient(135deg,#fff9e6,#fff8dc,#fffaed)}.app-footer p{margin:0;color:#2d1f0f;font-size:.85rem;font-weight:500}@media (min-width: 768px){.app-footer p{font-size:.9rem}}
