.navbar{display:flex;justify-content:space-between;align-items:center;background-color:#0f172a;padding:12px 30px;box-shadow:0 2px 8px #0000001a;position:sticky;top:0;z-index:999}.navbar-logo{display:flex;align-items:center;color:#fff;font-size:1.2rem;font-weight:700}.navbar-logo img{width:40px;margin-right:10px}.navbar-links{display:flex;gap:20px}.navbar-links a{color:#cbd5e1;text-decoration:none;font-weight:500;transition:color .3s;position:relative}.navbar-links a:hover,.navbar-links a.active{color:#38bdf8}.navbar-links a.active:after{content:"";position:absolute;left:0;bottom:-5px;width:100%;height:2px;background-color:#38bdf8;border-radius:2px}.navbar-user{display:flex;align-items:center;gap:15px}.signin-btn,.logout-btn{background-color:#38bdf8;color:#fff;border:none;padding:8px 14px;border-radius:4px;font-weight:500;cursor:pointer;transition:background-color .3s}.signin-btn:hover,.logout-btn:hover{background-color:#0ea5e9}.user-info{color:#cbd5e1;display:flex;align-items:center;gap:10px}.home-wrapper{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.banner{background-image:url(/banner.jpg);background-size:cover;background-position:center;height:300px;position:relative;color:#fff;text-align:center;display:flex;align-items:center;justify-content:center}.banner .overlay{background:#00000080;width:100%;height:100%;padding:0 20px}.logo{width:80px;margin-bottom:10px}.banner h1{font-size:2.5rem;margin-bottom:10px}.tagline{font-size:1.2rem;color:#ddd}.content-section{max-width:1000px;margin:40px auto;padding:20px}.features{background-color:#f8fafc;padding:30px;border-radius:10px;margin-bottom:30px}.features h2{margin-bottom:20px}.features ul{list-style:none;padding:0}.features li{font-size:1.1rem;margin-bottom:10px}.about{background-color:#fff;padding:30px;border-radius:10px;border:1px solid #e2e8f0;color:#333}.about h2{margin-bottom:15px}html,body,#root{height:100%;margin:0;padding:0;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:#f9fafb}.invoice-page{max-width:1300px;margin:0 auto;padding:2rem;box-sizing:border-box;background-color:#fff;min-height:100vh;display:flex;flex-direction:column}.page-title{font-size:2.5rem;font-weight:800;text-align:center;color:#1e40af;margin-bottom:.25rem}.page-subtitle{font-size:1.1rem;text-align:center;color:#475569;margin-bottom:2rem}.upload-section-box{background:#f8fafc;border:1px solid #cbd5e1;padding:2rem;border-radius:12px;margin-bottom:2rem;box-shadow:0 4px 12px #0000000d}.upload-section-box h2{margin-bottom:1rem;color:#2563eb;font-size:1.3rem;font-weight:700}.dropzone{border:2px dashed #94a3b8;background-color:#fff;padding:1.5rem;border-radius:10px;text-align:center;cursor:pointer;transition:.3s ease;color:#64748b;font-weight:500}.dropzone.dragging{background-color:#e0e7ff;border-color:#2563eb;color:#2563eb}.browse-link{color:#2563eb;font-weight:700;text-decoration:underline}.file-name{margin-top:1rem;font-weight:600;color:#334155}button{padding:.75rem 1.75rem;font-size:1rem;font-weight:600;border:none;border-radius:10px;background-color:#2563eb;color:#fff;cursor:pointer;transition:background-color .3s ease;display:block;margin-left:auto;margin-right:auto}button:disabled{background-color:#94a3b8;cursor:not-allowed}button:not(:disabled):hover{background-color:#1d4ed8}.error-msg{margin-top:1rem;color:#dc2626;font-weight:600;text-align:center}.step-indicator-container{display:flex;justify-content:center;align-items:center;margin:2rem 0;flex-wrap:wrap}.step{display:flex;flex-direction:column;align-items:center;position:relative;flex:1;max-width:150px;cursor:default;color:#9ca3af;text-align:center;margin:0 1rem}.step .icon{font-size:2.5rem;margin-bottom:.5rem}.step.active{color:#2563eb}.step.completed{color:#16a34a}.connector{position:absolute;top:1.5rem;right:-50%;width:100%;height:3px;background:#d1d5db;z-index:-1}.step.completed+.step .connector{background-color:#16a34a}.results-section{display:flex;flex-direction:row;justify-content:space-between;gap:2rem;margin-top:2rem;flex-wrap:nowrap}.text-section{flex:1 1 50%;min-width:0;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1.5rem;display:flex;flex-direction:column;height:auto;box-shadow:0 2px 10px #0000000a}.text-section h2{color:#2563eb;font-size:1.2rem;font-weight:700;margin-bottom:1rem;border-bottom:2px solid #2563eb;padding-bottom:.5rem}.text-box{background:#f1f5f9;border-radius:12px;padding:1rem 1.25rem;overflow-y:auto;white-space:pre-wrap;font-family:Courier New,Courier,monospace;font-size:.85rem;color:#334155;box-shadow:inset 0 0 15px #00000012;flex-grow:1;-webkit-user-select:text;user-select:text;max-height:400px}@media (max-width: 1024px){.results-section{flex-wrap:wrap}.text-section{flex:1 1 100%}}@media (max-width: 600px){.page-title{font-size:2rem}.upload-section-box{padding:1.5rem 1rem}button{width:100%}}.parsed-section{margin-top:3rem}.parsed-section h2{font-size:1.3rem;color:#1e3a8a;margin-bottom:1rem}.header-table{width:100%;border-collapse:collapse;margin-bottom:2rem}.header-table td{padding:.6rem .8rem;border:1px solid #e5e7eb;font-size:.95rem}.header-table .field-name{font-weight:600;background-color:#f1f5f9;text-transform:capitalize;width:200px}.line-items-container{overflow-x:auto}.line-items-table{width:100%;border-collapse:collapse}.line-items-table th,.line-items-table td{padding:.75rem 1rem;border:1px solid #e5e7eb;font-size:.9rem}.line-items-table th{background-color:#f3f4f6;font-weight:700;color:#1f2937}.dropzone{border:2px dashed #94a3b8;background-color:#f1f5f9;border-radius:6px;padding:40px 20px;text-align:center;color:#475569;margin-bottom:20px;cursor:pointer;transition:border-color .3s,background-color .3s}.dropzone.dragging{background-color:#e0f2fe;border-color:#0ea5e9}.dropzone .browse-link{color:#0ea5e9;text-decoration:underline;cursor:pointer}.file-name{margin-top:10px;color:#1e293b;font-weight:500}.upload-page{max-width:700px;margin:auto;padding:40px 20px;font-family:Segoe UI,sans-serif;text-align:center}.upload-title{font-size:2rem;margin-bottom:10px;color:#1e293b}.upload-subtitle{color:#64748b;margin-bottom:40px}.upload-box{background:#fff;padding:30px;border-radius:10px;border:1px solid #e2e8f0;box-shadow:0 4px 12px #0000000a}.drop-zone{border:2px dashed #94a3b8;padding:40px 20px;border-radius:8px;background-color:#f8fafc;cursor:pointer;transition:all .3s ease}.drop-zone:hover{border-color:#0ea5e9;background-color:#e0f2fe}.drop-message{font-size:16px;color:#334155}.browse{color:#0ea5e9;text-decoration:underline;cursor:pointer}.language-select{width:100%;padding:12px;margin-top:25px;font-size:16px;border-radius:6px;border:1px solid #cbd5e1;background-color:#f1f5f9;color:#1e293b}.language-select:focus{outline:none;border-color:#0ea5e9}.translate-btn{width:100%;margin-top:20px;padding:12px;background-color:#0ea5e9;color:#fff;font-size:16px;border:none;border-radius:6px;cursor:pointer;transition:background-color .3s}.translate-btn:hover{background-color:#0284c7}.upload-status{margin-top:20px;color:#64748b;font-weight:500}.dashboard{padding:40px 30px;font-family:Segoe UI,sans-serif;max-width:1100px;margin:auto}.dashboard-title{font-size:2.2rem;color:#1e293b;margin-bottom:8px}.dashboard-subtitle{color:#64748b;margin-bottom:40px;font-size:16px}.dashboard-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;margin-bottom:50px}.stat-card{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;box-shadow:0 2px 8px #00000008;transition:.3s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000000f}.stat-icon{font-size:28px;color:#0ea5e9}.stat-card h3{margin:0;font-size:16px;color:#475569}.stat-card p{font-size:20px;font-weight:700;margin:2px 0 0;color:#1e293b}.dashboard-table{background:#fff;padding:25px;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 2px 6px #00000005}.dashboard-table h2{font-size:18px;margin-bottom:20px;color:#1e293b}.dashboard-table table{width:100%;border-collapse:collapse}.dashboard-table th,.dashboard-table td{padding:12px 15px;text-align:left;border-bottom:1px solid #e2e8f0}.dashboard-table th{background:#f8fafc;color:#334155;font-size:14px}.status{padding:6px 10px;border-radius:6px;font-size:13px;font-weight:500}.status.translated{background-color:#dcfce7;color:#15803d}.status.pending{background-color:#fef3c7;color:#b45309}.translator-wrapper{max-width:900px;margin:40px auto;background:#f9fafa;border-radius:12px;padding:30px 40px;box-shadow:0 5px 12px #0000000d;font-family:Arial,sans-serif}.lang-options{display:flex;align-items:center;justify-content:center;gap:40px;margin-bottom:25px}.lang-btn{border:1.8px solid #2c9e4f;border-radius:25px;background:#fff;padding:8px 22px;color:#2c9e4f;font-weight:600;font-size:15px;cursor:pointer;display:flex;align-items:center;gap:6px}.switch-icon{font-size:22px;color:#999;cursor:default;-webkit-user-select:none;user-select:none}.text-panels{display:flex;justify-content:center;gap:0;border:1px solid #ddd;border-radius:8px;overflow:hidden}.panel{flex:1;display:flex;flex-direction:column;background:#fff;padding:20px 18px;box-sizing:border-box}.left-panel{border-right:1px solid #ddd;border-top-left-radius:8px;border-bottom-left-radius:8px}.right-panel{border-top-right-radius:8px;border-bottom-right-radius:8px}.panel-label{font-weight:600;font-size:16px;color:#222;margin-bottom:12px}.panel-label.invisible{visibility:hidden;height:0;margin-bottom:0}textarea{width:100%;height:180px;font-family:monospace;font-size:15px;padding:15px;resize:vertical;border:1px solid #ddd;border-radius:8px;background-color:#fdfdfd;box-sizing:border-box;outline:none}.left-panel textarea{border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}.right-panel textarea{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.paste-btn{margin-top:12px;padding:8px 20px;font-weight:600;border-radius:25px;border:1.8px solid #2c9e4f;background:#fff;color:#2c9e4f;cursor:pointer;font-size:15px;display:flex;align-items:center;gap:6px;align-self:flex-start}.action-row{margin-top:30px}.translate-btn{background:#0d7f3f;color:#fff;border:none;width:100%;padding:15px 0;font-weight:700;font-size:18px;border-radius:30px;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:8px}body{margin:0;font-family:Arial,sans-serif;background-color:#f6f9fc}.container{padding:20px}
