:root { --primary: #0f2b49; --accent: #bf0811; --neutral: #919191; --text: #14263a; --muted: #66788d; --bg: #eef1f5; --bg-soft: #f9fbfd; --card: #ffffff; --border: rgba(15, 43, 73, 0.16); --success: #16a34a; --danger: #bf0811; --shadow-md: 0 12px 24px rgba(15, 43, 73, 0.1); } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; } body { font-family: "IBM Plex Sans", "Segoe UI", sans-serif; color: var(--text, #122033); background: radial-gradient(circle at 92% 10%, rgba(15, 43, 73, 0.2), transparent 36%), radial-gradient(circle at 8% 92%, rgba(191, 8, 17, 0.13), transparent 34%), linear-gradient(130deg, #eff3f8 0%, #e7edf3 45%, #edf2f7 100%); min-height: 100vh; overflow-x: hidden; } h1, h2, h3, h4 { margin: 0; } .stepper { display: flex; gap: 10px; } .step-item { position: relative; cursor: pointer; transition: transform 0.2s ease, opacity 0.2s ease; } .step-item.locked { cursor: not-allowed; opacity: 0.6; } .step-circle { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; transition: all 0.25s ease; } .step-label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; } .card-section { background: var(--card, #ffffff); border: 1px solid var(--border, rgba(15, 43, 73, 0.12)); border-radius: 18px; box-shadow: var(--shadow-md, 0 12px 28px rgba(15, 43, 73, 0.08)); padding: 28px; margin-bottom: 18px; } .section-title { font-size: 0.98rem; font-weight: 800; color: var(--primary, #0f2b49); display: flex; align-items: center; gap: 8px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(15, 43, 73, 0.12); } .section-title i { color: var(--accent, #bf0811); } .form-label { font-weight: 700; font-size: 0.86rem; color: var(--text, #122033); margin-bottom: 6px; } .form-control, .form-select { border: 1.5px solid var(--border, rgba(15, 43, 73, 0.12)); border-radius: 11px; padding: 10px 13px; font-size: 0.95rem; background: var(--bg-soft, #fbfbfb); transition: border-color 0.25s ease, box-shadow 0.25s ease; } .form-control:focus, .form-select:focus { border-color: rgba(15, 43, 73, 0.35); box-shadow: 0 0 0 4px rgba(191, 8, 17, 0.12); outline: none; } .form-control.is-valid { border-color: var(--success, #16a34a); } .form-control.is-invalid { border-color: var(--danger, #bf0811); } .form-check-input:checked { background-color: var(--primary, #0f2b49); border-color: var(--primary, #0f2b49); } .toggle-group { display: flex; gap: 16px; flex-wrap: wrap; } .toggle-card { flex: 1; min-width: 170px; border: 1.5px solid var(--border, rgba(15, 43, 73, 0.12)); border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; background: #fff; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; } .toggle-card:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(15, 43, 73, 0.08); } .toggle-card.selected { border-color: rgba(191, 8, 17, 0.3); background: linear-gradient(135deg, rgba(15, 43, 73, 0.04), rgba(191, 8, 17, 0.07)); } .toggle-card i { font-size: 1.3rem; color: var(--neutral, #919191); } .toggle-card .tc-label { font-weight: 800; font-size: 0.88rem; } .toggle-card .tc-desc { font-size: 0.78rem; color: var(--muted, #6f7884); } .email-status { font-size: 0.83rem; margin-top: 6px; display: none; align-items: center; gap: 6px; } .email-status.show { display: flex; } .email-status.ok { color: var(--success, #16a34a); } .email-status.fail { color: var(--danger, #bf0811); } .email-status.checking { color: var(--muted, #6f7884); } .btn-cotar { border: none; background: linear-gradient(135deg, #132f50 0%, #0f2b49 60%, #bf0811 100%); color: #fff; border-radius: 12px; padding: 12px 26px; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 8px; transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease; box-shadow: 0 12px 22px rgba(15, 43, 73, 0.16); } .btn-cotar:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 28px rgba(15, 43, 73, 0.2); } .btn-cotar:disabled { opacity: 0.55; cursor: not-allowed; } #result-section { display: none; } .result-card { background: linear-gradient(145deg, #0d223b 0%, #0f2b49 55%, #173c64 100%); border-radius: 20px; padding: 26px; color: #fff; box-shadow: 0 24px 48px rgba(15, 43, 73, 0.22); } .result-card .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; opacity: 0.78; font-weight: 700; } .result-card .value { font-size: 1.7rem; font-weight: 800; } .result-card .value-sm { font-size: 1.08rem; font-weight: 700; } .result-divider { border-color: rgba(255, 255, 255, 0.2); margin: 16px 0; } .badge-port { background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 7px; padding: 3px 8px; font-size: 0.76rem; font-weight: 700; } .tag-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 18px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.24); font-size: 0.78rem; font-weight: 700; } .taxas-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: 0.86rem; } .taxas-table th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted, #6f7884); font-weight: 700; padding: 4px 8px; } .taxas-table td { background: #fff; border-top: 1px solid rgba(15, 43, 73, 0.06); border-bottom: 1px solid rgba(15, 43, 73, 0.06); padding: 8px 10px; } .taxas-table td:first-child { border-radius: 7px 0 0 7px; } .taxas-table td:last-child { border-radius: 0 7px 7px 0; text-align: right; font-weight: 700; } .rules-log { background: #fbfcff; border: 1px solid var(--border, rgba(15, 43, 73, 0.12)); border-radius: 14px; padding: 12px 14px; max-height: 180px; overflow-y: auto; color: var(--muted, #6f7884); font-family: "Courier New", monospace; font-size: 0.77rem; } .rules-log li { list-style: none; padding: 2px 0; } .rules-log li::before { content: "▸ "; color: var(--accent, #bf0811); } .alert-cotacao { border-radius: 10px; display: none; } .spinner-border-sm { width: 1rem; height: 1rem; } #url-preview-box { background: linear-gradient(135deg, #0a192a 0%, #0f2b49 100%); color: #f3f4f6; border-radius: 14px; padding: 11px 14px; font-family: "Courier New", monospace; font-size: 0.78rem; margin-top: 10px; display: none; word-break: break-all; } #url-preview-box .url-method { color: #fca5a5; font-weight: 700; margin-right: 8px; } #url-preview-box .url-param { color: #fecdd3; } .porto-wrap { position: relative; } .porto-input { width: 100%; border: 1.5px solid var(--border, rgba(15, 43, 73, 0.12)); border-radius: 12px; padding: 10px 14px 10px 40px; background: #fff; } .porto-input:focus { border-color: rgba(15, 43, 73, 0.35); box-shadow: 0 0 0 4px rgba(191, 8, 17, 0.12); outline: none; } .porto-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted, #6f7884); pointer-events: none; } .porto-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: none; background: none; color: var(--muted, #6f7884); cursor: pointer; display: none; } .porto-clear:hover { color: var(--danger, #bf0811); } .porto-dropdown { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 1000; background: #fff; border: 1.5px solid var(--border, rgba(15, 43, 73, 0.12)); border-radius: 14px; box-shadow: 0 16px 30px rgba(15, 43, 73, 0.14); max-height: 250px; overflow-y: auto; display: none; } .porto-dropdown.open { display: block; } .porto-option { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #eef1f5; cursor: pointer; } .porto-option:last-child { border-bottom: none; } .porto-option:hover, .porto-option.focused { background: rgba(15, 43, 73, 0.06); } .porto-option .opt-code { font-family: monospace; font-size: 0.81rem; font-weight: 700; background: rgba(15, 43, 73, 0.08); color: #0f2b49; border-radius: 5px; padding: 2px 6px; } .porto-option .opt-name { font-size: 0.86rem; color: var(--text, #122033); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .porto-option .opt-tipo { margin-left: auto; font-size: 0.72rem; color: var(--muted, #6f7884); } .porto-empty { padding: 12px; text-align: center; color: var(--muted, #6f7884); font-size: 0.84rem; } .porto-selected-badge { display: none; align-items: center; gap: 8px; margin-top: 8px; border: 1px solid var(--border, rgba(15, 43, 73, 0.12)); border-radius: 11px; background: rgba(15, 43, 73, 0.04); padding: 8px 10px; font-size: 0.85rem; } .porto-selected-badge.show { display: flex; } .porto-selected-badge .badge-code { font-family: monospace; font-weight: 700; color: #0f2b49; } .route-status { border-radius: 10px; padding: 11px 14px; font-size: 0.87rem; margin-top: 14px; display: none; align-items: center; gap: 9px; } .route-status.checking { border: 1px solid var(--border, rgba(15, 43, 73, 0.12)); color: var(--muted, #6f7884); background: #fff; display: flex; } .route-status.ok { border: 1px solid rgba(22, 163, 74, 0.2); color: var(--success, #16a34a); background: rgba(22, 163, 74, 0.08); display: flex; } .route-status.fail { border: 1px solid rgba(191, 8, 17, 0.25); color: var(--danger, #bf0811); background: rgba(191, 8, 17, 0.08); display: flex; } .route-status .rs-detail { font-size: 0.77rem; color: var(--muted, #6f7884); margin-top: 2px; } .a-shell { max-width: 1380px; margin: 0 auto; min-height: 100vh; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; padding: 24px; } .a-sidebar { position: sticky; top: 18px; align-self: start; background: linear-gradient(165deg, #0a213a 0%, #0f2b49 70%, #123253 100%); border-radius: 24px; padding: 26px 22px; color: #f5f9ff; box-shadow: 0 24px 45px rgba(15, 43, 73, 0.28); border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; } .a-sidebar::after { content: ""; position: absolute; inset: auto -70px -70px auto; width: 180px; height: 180px; border-radius: 999px; background: radial-gradient(circle, rgba(191, 8, 17, 0.3), transparent 70%); } .a-brand { font-family: "Sora", "Segoe UI", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 10px; } .a-brand i { color: #ffd7d9; font-size: 1.2rem; } .a-brand strong { color: #ffffff; } .a-brand span { color: #ffb7bb; } .a-intro { margin-top: 14px; margin-bottom: 18px; color: #d8e5f2; font-size: 0.88rem; line-height: 1.5; } .a-kpis { display: grid; gap: 10px; margin-bottom: 20px; } .a-kpi { border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 11px 12px; } .a-kpi .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: #cbd9e8; font-weight: 700; } .a-kpi .value { font-family: "Sora", "Segoe UI", sans-serif; margin-top: 2px; font-size: 0.94rem; font-weight: 700; color: #fff; } .a-nav-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: #acc2d9; margin-bottom: 10px; font-weight: 700; } .a-stepper { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; position: relative; z-index: 1; } .a-stepper::before { content: ""; position: absolute; left: 18px; top: 18px; bottom: 18px; width: 2px; background: rgba(255, 255, 255, 0.25); } .a-stepper .step-item { display: flex; align-items: center; gap: 10px; border-radius: 13px; padding: 8px 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid transparent; } .a-stepper .step-circle { width: 34px; height: 34px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.25); color: #cfe0f1; z-index: 1; } .a-stepper .step-label { color: #d8e5f2; font-size: 0.7rem; margin: 0; letter-spacing: 0.08em; } .a-stepper .step-note { color: #9eb4ca; font-size: 0.74rem; font-weight: 500; margin-top: 2px; } .a-stepper .step-item.active { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.13); transform: translateX(2px); } .a-stepper .step-item.active .step-circle { background: #ffffff; color: #0f2b49; } .a-stepper .step-item.done .step-circle { background: #bf0811; color: #ffffff; border-color: rgba(191, 8, 17, 0.8); } .a-stepper .step-item.done .step-label { color: #ffffff; } .a-help { border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px; padding: 12px; background: rgba(255, 255, 255, 0.08); font-size: 0.82rem; color: #e2ebf5; line-height: 1.5; position: relative; z-index: 1; } .a-main { min-width: 0; padding-bottom: 36px; } .a-hero { border-radius: 24px; padding: 26px 28px; background: linear-gradient(130deg, rgba(15, 43, 73, 0.92) 0%, rgba(15, 43, 73, 0.72) 62%, rgba(191, 8, 17, 0.78) 100%); color: #ffffff; box-shadow: 0 24px 40px rgba(15, 43, 73, 0.26); margin-bottom: 18px; } .a-hero h1 { font-family: "Sora", "Segoe UI", sans-serif; font-size: 2rem; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 6px; } .a-hero p { margin: 0; font-size: 0.95rem; color: #e3ecf5; max-width: 720px; } .a-stage { border-radius: 22px; border: 1px solid rgba(15, 43, 73, 0.12); background: rgba(255, 255, 255, 0.78); box-shadow: 0 20px 34px rgba(15, 43, 73, 0.1); backdrop-filter: blur(6px); padding: 22px; } #step-2 { display: grid; gap: 14px; } #result-section[style*="display: block"] { display: grid !important; grid-template-columns: 1.2fr 0.8fr; gap: 14px; } #result-section > div:first-child { grid-column: 1 / -1; margin-bottom: 0 !important; border-radius: 16px !important; box-shadow: var(--shadow-md); } #result-section > .result-card { grid-column: 1 / -1; margin-bottom: 0; } #taxas-section { grid-column: 1 / 2; margin-top: 0 !important; } #subsidio-section { grid-column: 2 / 3; margin-top: 0 !important; } #result-section > .card-section.mt-0:not(#subsidio-section) { grid-column: 1 / -1; } @media (max-width: 1120px) { .a-shell { grid-template-columns: 1fr; } .a-sidebar { position: relative; top: 0; } .a-stepper { flex-direction: row; overflow-x: auto; padding-bottom: 6px; } .a-stepper::before { display: none; } .a-stepper .step-item { min-width: 220px; } } @media (max-width: 991px) { .card-section { padding: 22px; } } @media (max-width: 760px) { .a-shell { padding: 12px; gap: 14px; } .a-hero { padding: 20px; } .a-hero h1 { font-size: 1.5rem; } .a-stage { padding: 12px; } #result-section[style*="display: block"] { grid-template-columns: 1fr; } #taxas-section, #subsidio-section { grid-column: 1 / -1; } } @media (max-width: 576px) { .card-section { padding: 18px 14px; border-radius: 14px; } .result-card { padding: 18px; } .result-card .value { font-size: 1.4rem; } }