﻿*{margin:0;padding:0;box-sizing:border-box}body{font-family:"Be Vietnam Pro","Segoe UI",Tahoma,Geneva,Verdana,sans-serif;background:linear-gradient(160deg, #f3f4ff 0%, #ffffff 100%);padding:36px;color:#0f172a}.number-to-words-page{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:32px}.hero{text-align:center;display:flex;flex-direction:column;gap:12px}.hero .eyebrow{text-transform:uppercase;letter-spacing:.18em;font-weight:700;font-size:14px;color:rgba(15,23,42,.65)}.hero h1{margin:0;font-size:42px;font-weight:800;color:#0f172a;line-height:1.2}.hero .subtitle{font-size:16px;color:rgba(15,23,42,.65);line-height:1.6;max-width:600px;margin:0 auto}.info-box{display:flex;gap:16px;padding:20px 24px;background:linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);border-radius:12px;border-left:4px solid #f59e0b}.info-box .info-icon{font-size:24px;flex-shrink:0}.info-box p{margin:0;font-size:14px;line-height:1.6;color:#78350f}.info-box p strong{font-weight:700;color:#78350f}.converter-container{display:grid;grid-template-columns:2fr 1fr;gap:32px;align-items:start}.converter-card{background:#fff;border-radius:16px;padding:40px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.converter-card h2{font-size:22px;font-weight:700;color:#0f172a;margin-bottom:24px}.converter-form{display:flex;flex-direction:column;gap:24px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:600;color:#0f172a}.form-group .hint{font-size:12px;color:rgba(15,23,42,.65);font-style:italic}.input-wrapper{position:relative;display:flex;align-items:center}.input-wrapper .form-input{width:100%;padding:16px 48px 16px 16px;border:2px solid #e2e8f0;border-radius:10px;font-size:18px;font-weight:600;color:#0f172a;transition:all .3s ease}.input-wrapper .form-input:hover{border-color:rgba(67,56,202,.3)}.input-wrapper .form-input:focus{outline:none;border-color:#4338ca;box-shadow:0 0 0 3px rgba(67,56,202,.1)}.input-wrapper .form-input::placeholder{color:#cbd5e1;font-weight:400}.input-wrapper .btn-clear{position:absolute;right:12px;width:32px;height:32px;display:none;align-items:center;justify-content:center;background:#f1f5f9;border:none;border-radius:6px;cursor:pointer;color:rgba(15,23,42,.65);transition:all .2s ease}.input-wrapper .btn-clear:hover{background:#e2e8f0;color:#0f172a}.quick-amounts{display:grid;grid-template-columns:repeat(3, 1fr);gap:12px}.quick-btn{padding:12px 16px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:600;color:#0f172a;cursor:pointer;transition:all .2s ease}.quick-btn:hover{background:#f1f5f9;border-color:#4338ca;color:#4338ca;transform:translateY(-2px)}.quick-btn:active{transform:translateY(0)}.btn-convert{width:100%;background:linear-gradient(135deg, #4338ca 0%, #312e81 100%);color:#fff;border:none;border-radius:10px;padding:16px 24px;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.btn-convert:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(67,56,202,.3)}.btn-convert:active{transform:translateY(0)}.btn-convert:disabled{opacity:.7;cursor:not-allowed}.btn-convert .spinner{width:16px;height:16px;border:2px solid #fff;border-top-color:rgba(0,0,0,0);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.result-section{margin-top:32px;padding-top:32px;border-top:2px dashed #e2e8f0}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.result-header h3{font-size:18px;font-weight:700;color:#0f172a}.btn-copy{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#fff;border:2px solid #4338ca;border-radius:8px;font-size:14px;font-weight:600;color:#4338ca;cursor:pointer;transition:all .2s ease}.btn-copy:hover{background:#4338ca;color:#fff}.btn-copy.copied{background:#10b981;border-color:#10b981;color:#fff}.btn-copy svg{width:18px;height:18px}.formatted-number{font-size:28px;font-weight:800;color:#4338ca;margin-bottom:16px;text-align:center;padding:20px;background:linear-gradient(135deg, rgba(67, 56, 202, 0.05) 0%, rgba(67, 56, 202, 0.1) 100%);border-radius:12px}.words-result{font-size:18px;line-height:1.8;color:#0f172a;padding:24px;background:#f8fafc;border-radius:12px;border-left:4px solid #10b981;margin-bottom:20px;font-weight:500}.result-actions{display:flex;justify-content:center}.btn-new{display:flex;align-items:center;gap:8px;padding:12px 24px;background:#fff;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:600;color:#0f172a;cursor:pointer;transition:all .2s ease}.btn-new:hover{border-color:#4338ca;color:#4338ca}.examples-card{background:#fff;border-radius:16px;padding:32px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.examples-card h3{font-size:18px;font-weight:700;color:#0f172a;margin-bottom:20px}.examples-list{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.example-item{display:grid;grid-template-columns:auto auto 1fr;gap:12px;align-items:center;padding:16px;background:#f8fafc;border-radius:10px;font-size:13px}.example-item .example-number{font-weight:700;color:#4338ca;white-space:nowrap}.example-item .example-arrow{color:rgba(15,23,42,.65);font-size:16px}.example-item .example-words{color:#0f172a;line-height:1.6}.tips-box{padding:20px;background:linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);border-radius:10px}.tips-box h4{font-size:14px;font-weight:700;color:#78350f;margin-bottom:12px}.tips-box ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.tips-box ul li{font-size:13px;color:#78350f;padding-left:20px;position:relative;line-height:1.5}.tips-box ul li::before{content:"•";position:absolute;left:8px;font-weight:700}@media(max-width: 968px){.converter-container{grid-template-columns:1fr}.quick-amounts{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 640px){body{padding:20px}.hero h1{font-size:32px}.converter-card{padding:24px}.quick-amounts{grid-template-columns:1fr}.formatted-number{font-size:22px}.words-result{font-size:16px}.example-item{grid-template-columns:1fr;gap:8px}.example-item .example-arrow{display:none}}
