:root { --bg: #f4f7fb; --bg2: #f8fafc; --card: #ffffff; --border: #dfe7f1; --text: #142033; --muted: #69778c; --teal: #1769e0; --teal-hover: #0f55bd; --green: #168a5b; --red: #cf3d4f; --amber: #c67a16; --navy: #0d2342; --soft-blue: #edf4ff; --radius: 14px; --shadow: 0 16px 45px rgba(18, 43, 76, .10); } * { box-sizing: border-box; margin: 0; padding: 0; } html, body { min-height: 100%; } body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; } body.portal-page { background: radial-gradient(circle at 80% 5%, rgba(23,105,224,.08), transparent 28rem), linear-gradient(180deg, #f7faff 0%, #f4f7fb 55%, #eef3f9 100%); } a { color: var(--teal); text-decoration: none; } a:hover { text-decoration: none; color: var(--teal-hover); } .container { max-width: 640px; margin: 0 auto; padding: 34px 18px 40px; } .container-wide { max-width: 1180px; margin: 0 auto; padding: 26px 20px 46px; } .portal-shell { min-height: 100vh; display: flex; flex-direction: column; } .portal-header { width: 100%; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); box-shadow: 0 4px 20px rgba(18,43,76,.04); position: relative; z-index: 2; } .portal-header-inner { max-width: 980px; margin: 0 auto; min-height: 78px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; } .brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--text); } .brand:hover { color: var(--text); } .brand-logo { width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--border); padding: 4px; flex: 0 0 auto; } .brand-mark { width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #1769e0, #0d4fae); box-shadow: 0 8px 24px rgba(23,105,224,.20); font-size: 20px; font-weight: 800; } .brand-copy { min-width: 0; } .brand-name { font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; } .brand-subtitle { display: block; margin-top: 1px; color: var(--muted); font-size: .75rem; font-weight: 600; } .secure-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: #eef9f3; color: #23754f; border: 1px solid #d9f0e4; font-size: .77rem; font-weight: 700; } .portal-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; } .portal-content { width: 100%; max-width: 640px; padding: 48px 18px 26px; } .portal-intro { text-align: center; margin-bottom: 20px; } .portal-intro .eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; margin-bottom: 12px; border-radius: 999px; background: var(--soft-blue); color: var(--teal); font-size: .76rem; font-weight: 800; } .portal-intro h1 { font-size: clamp(1.65rem, 4vw, 2.15rem); line-height: 1.18; margin-bottom: 8px; color: var(--navy); } .portal-intro p { color: var(--muted); max-width: 500px; margin: 0 auto; } .portal-footer { padding: 16px 20px 30px; text-align: center; color: #8190a4; font-size: .78rem; } .portal-footer strong { color: #4d5c70; } .card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); } .payment-card { padding: 26px; } .card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; } .card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-blue); color: var(--teal); font-weight: 900; flex: 0 0 auto; } h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; color: var(--navy); } h1 { font-size: 1.8rem; margin-bottom: 8px; } h2 { font-size: 1.23rem; margin-bottom: 9px; } h3 { font-size: 1rem; } .muted { color: var(--muted); font-size: 0.9rem; } .logo-wrap { text-align: center; margin-bottom: 24px; } .logo-wrap img { max-height: 62px; max-width: 230px; object-fit: contain; } .logo-wrap .site-name { font-size: 1.5rem; font-weight: 800; color: var(--navy); } label { display: block; font-size: 0.79rem; font-weight: 700; color: #526278; margin-bottom: 7px; } input[type="text"], input[type="email"], input[type="password"], input[type="number"], textarea, select { width: 100%; padding: 12px 13px; border-radius: 10px; border: 1px solid #cfd9e6; background: #fff; color: var(--text); font-size: .94rem; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; } input::placeholder, textarea::placeholder { color: #9aa7b8; } input:focus, textarea:focus, select:focus { border-color: #6aa2ef; box-shadow: 0 0 0 4px rgba(23,105,224,.09); background: #fff; } input[type="file"] { width: 100%; padding: 11px; border: 1px dashed #c4d2e4; border-radius: 10px; background: #f9fbfe; color: var(--muted); } textarea { min-height: 92px; resize: vertical; } .form-group { margin-bottom: 16px; } .form-help { margin-top: 6px; color: #8996a8; font-size: .76rem; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; font-weight: 750; font-size: .9rem; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; } .btn:active { transform: translateY(1px); } .btn-primary { background: var(--teal); color: #fff; box-shadow: 0 7px 18px rgba(23,105,224,.16); } .btn-primary:hover { background: var(--teal-hover); color: #fff; } .btn-secondary { background: #fff; color: #42536a; border-color: var(--border); } .btn-secondary:hover { border-color: #a9bdd5; background: #f9fbfe; } .btn-danger { background: #fff1f3; color: #b62e40; border-color: #f0c7ce; } .btn-success { background: #eaf8f1; color: #16734d; border-color: #c7e9d7; } .btn-sm { padding: 7px 11px; font-size: 0.78rem; } .btn-block { width: 100%; } .alert { padding: 11px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 0.86rem; } .alert-error { background: #fff1f2; border: 1px solid #f2c7cd; color: #a82d3d; } .alert-success { background: #ecf9f2; border: 1px solid #c9ebd9; color: #176c49; } .alert-info { background: #eff6ff; border: 1px solid #cfdef4; color: #245f9f; } .waiting { text-align: center; padding: 46px 22px; } .waiting .spinner { width: 44px; height: 44px; border: 3px solid #dbe6f2; border-top-color: var(--teal); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 18px; } @keyframes spin { to { transform: rotate(360deg); } } .method-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 13px; box-shadow: 0 9px 28px rgba(18,43,76,.055); transition: border-color .15s, transform .15s, box-shadow .15s; } .method-card:hover { border-color: #a9c8f4; transform: translateY(-1px); box-shadow: 0 13px 34px rgba(18,43,76,.08); } .method-card .title { font-weight: 800; font-size: 1rem; margin-bottom: 11px; display: flex; align-items: center; gap: 8px; color: var(--navy); } .field-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf1f6; } .field-row:last-child { border-bottom: none; } .field-row .label { color: var(--muted); font-size: .76rem; min-width: 104px; text-transform: capitalize; } .field-row .value { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; color: #29394f; word-break: break-all; flex: 1; text-align: right; } .field-row .copy-btn { background: #f6f9fd; border: 1px solid #dce6f1; color: #50617a; border-radius: 7px; padding: 5px 8px; cursor: pointer; font-size: .72rem; font-weight: 700; } .field-row .copy-btn:hover { border-color: #9dbdeb; color: var(--teal); background: #f1f6ff; } .amount-badge { display: inline-block; background: #edf5ff; color: #195fc0; padding: 5px 10px; border-radius: 999px; font-weight: 750; font-size: .82rem; margin-top: 10px; } /* Admin */ .admin-page { background: #f2f5f9; } .admin-topbar { background: var(--navy); color: #fff; border-radius: 15px; padding: 18px 20px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; box-shadow: 0 12px 32px rgba(13,35,66,.14); } .admin-brand { display: flex; align-items: center; gap: 12px; min-width: 0; } .admin-brand-logo { width: 42px; height: 42px; border-radius: 10px; object-fit: contain; background: #fff; padding: 3px; } .admin-brand-mark { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: #1769e0; color: #fff; font-weight: 900; } .admin-brand h1 { color: #fff; font-size: 1.2rem; margin: 0; } .admin-brand .muted { color: #b7c5d8; font-size: .78rem; } .admin-user { color: #c8d3e2; font-size: .82rem; } .admin-user strong { color: #fff; } .admin-user a { color: #fff; font-weight: 700; } .admin-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; padding: 7px; border: 1px solid var(--border); background: #fff; border-radius: 12px; box-shadow: 0 7px 22px rgba(18,43,76,.045); } .admin-nav a, .admin-nav span { padding: 8px 12px; border-radius: 8px; font-size: .79rem; font-weight: 750; background: transparent; border: 1px solid transparent; color: #617188; text-decoration: none; } .admin-nav a:hover { background: #f4f7fb; color: var(--navy); } .admin-nav a.active { background: var(--soft-blue); color: var(--teal); border-color: #d7e7ff; } .admin-page .card { box-shadow: 0 8px 28px rgba(18,43,76,.06); } .admin-page .tab > .card, .admin-page section.card { min-height: 140px; } .admin-page #methods-admin > .card { background: #fbfcfe; box-shadow: none; } .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; } table.data { width: 100%; border-collapse: collapse; font-size: .84rem; background: #fff; } table.data th, table.data td { text-align: left; padding: 11px 12px; border-bottom: 1px solid #e9eef4; vertical-align: top; } table.data th { color: #68798f; background: #f8fafc; font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .045em; } table.data tr:last-child td { border-bottom: 0; } table.data tr:hover td { background: #fbfdff; } .badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: capitalize; } .badge-pending { background: #fff4df; color: #9a6518; } .badge-confirmed { background: #e9f8f1; color: #16704b; } .badge-rejected { background: #fff0f2; color: #ad3546; } .toggle { position: relative; width: 44px; height: 24px; display: inline-block; margin: 0; } .toggle input { opacity: 0; width: 0; height: 0; } .toggle .slider { position: absolute; inset: 0; background: #cbd5e1; border-radius: 999px; cursor: pointer; transition: .2s; } .toggle .slider:before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 2px 5px rgba(0,0,0,.15); } .toggle input:checked + .slider { background: var(--teal); } .toggle input:checked + .slider:before { transform: translateX(20px); } .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .footer-note { text-align: center; margin-top: 30px; color: #8997a9; font-size: .76rem; } /* Login */ .login-page { min-height: 100vh; display: grid; place-items: center; padding: 28px 18px; background: linear-gradient(145deg,#eff5ff,#f8fafc 55%,#eef2f7); } .login-box { width: 100%; max-width: 420px; } .login-brand { text-align: center; margin-bottom: 17px; } .login-brand .brand { justify-content: center; } .login-brand .brand-name { max-width: 290px; } .login-card { padding: 27px; } .login-card h1 { font-size: 1.35rem; text-align: center; margin-bottom: 4px; } .login-card > .muted { text-align: center; margin-bottom: 20px; display: block; } /* Installer */ .install-page { min-height: 100vh; padding: 32px 18px; background: linear-gradient(160deg,#edf4ff,#f8fafc 48%,#eef2f7); } .install-wrap { width: 100%; max-width: 760px; margin: 0 auto; } .install-heading { text-align: center; margin-bottom: 20px; } .install-heading .brand { justify-content: center; margin-bottom: 14px; } .install-heading h1 { font-size: 1.65rem; } .install-card { padding: 28px; } .install-section { padding: 20px 0; border-bottom: 1px solid #e7edf4; } .install-section:first-child { padding-top: 0; } .install-section:last-of-type { border-bottom: 0; } .install-section h2 { font-size: 1rem; margin-bottom: 13px; } .requirement-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 13px 0 0; } .requirement { padding: 9px 11px; border-radius: 9px; background: #f8fafc; border: 1px solid var(--border); font-size: .78rem; display: flex; justify-content: space-between; gap: 10px; } .req-ok { color: var(--green); font-weight: 800; } .req-bad { color: var(--red); font-weight: 800; } @media (max-width: 720px) { .portal-header-inner { min-height: 70px; padding: 11px 16px; } .secure-chip { display: none; } .portal-content { padding-top: 34px; } .payment-card, .card { padding: 20px; } .brand-name { max-width: 260px; } .grid-2, .requirement-list { grid-template-columns: 1fr; } .field-row { align-items: flex-start; flex-wrap: wrap; } .field-row .label { width: 100%; min-width: 0; } .field-row .value { text-align: left; } .admin-topbar { border-radius: 12px; } .container-wide { padding: 14px 12px 36px; } } @media (max-width: 420px) { .brand-mark, .brand-logo { width: 40px; height: 40px; } .brand-name { font-size: .98rem; max-width: 220px; } .brand-subtitle { font-size: .7rem; } .portal-intro h1 { font-size: 1.55rem; } }