:root {
    --bg: #eef4f8;
    --navy: #081b33;
    --navy-2: #0b1730;
    --blue: #0f567b;
    --cyan: #11a8e1;
    --orange: #f5a019;
    --text: #184769;
    --muted: #7f9eb2;
    --border: #d8e4ec;
    --green: #15a66d;
    --sidebar: #eaf2f7;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
}

.back-link {
    color: #1b9cd8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 14px;
}

.hero {
    background: #0a4a6b;
    color: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
}

.hero h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.hero p {
    margin: 3px 0 0;
    color: #b9ddec;
    font-size: 13px;
}

.hero-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    justify-content: flex-end;
}

.hero-step {
    text-align: center;
    color: #85cde9;
    font-size: 10px;
    font-weight: 700;
}

.hero-step .dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.hero-line {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, .22);
    margin-top: -16px;
}

.card-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
}

.panel-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 800;
    color: #134866;
}

.panel-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #14a8e2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.panel-body {
    padding: 16px 20px 18px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: #45677f;
    line-height: 1.45;
    font-size: 14px;
}

.info-bullet {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0f577d;
    color: #fff;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    margin-top: 1px;
}

.info-list b {
    color: #143f5f
}

.form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: #124763;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #184769;
    text-transform: uppercase;
}

.form-group label .optional {
    color: #7fa4bc;
    text-transform: none;
    font-weight: 700;
    font-size: 12px;
    margin-left: 6px;
}

.form-control-custom {
    width: 100%;
    border: 1px solid #d6e4ec;
    border-radius: 8px;
    padding: 14px 12px;
    font-size: 14px;
    color: #557a92;
    background: #fff;
    outline: none;
}

.helper {
    margin-top: 6px;
    font-size: 12px;
    color: #8cadc1;
}

.helper.warning {
    color: #f29a12;
}

.upload-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.upload-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: #124763;
    margin-bottom: 16px;
}

.upload-icon-green {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #18a16d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.dropzone {
    border: 1.5px dashed #b7d7e6;
    background: #fbfeff;
    border-radius: 12px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
}

.dropzone .icon {
    font-size: 36px;
    color: #9fd2e7;
    line-height: 1;
}

.dropzone strong {
    color: #124763;
    font-size: 15px;
}

.dropzone small {
    color: #8fa8b9;
    font-size: 12px;
}

.btn-cyan {
    background: #11a8e1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    padding: 11px 18px;
    font-size: 14px;
}

.invoice-help {
    margin-top: 10px;
    font-size: 12px;
    color: #1b9cd8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.alert-box {
    border: 1px solid #f1bf72;
    background: #fff9ee;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    color: #976b20;
    font-size: 12px;
    line-height: 1.55;
}

.alert-box strong {
    display: block;
    color: #d18908;
    font-size: 14px;
    margin-bottom: 6px;
}

.terms {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #587b92;
    font-size: 14px;
    margin: 10px 0 16px;
}

.terms a {
    color: #1b9cd8;
}

.btn-submit {
    width: 100%;
    border: none;
    background: #11a8e1;
    color: #fff;
    border-radius: 20px;
    padding: 15px 18px;
    font-size: 16px;
    font-weight: 800;
}


.hero-step {
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s;
}

.hero-step:hover {
    opacity: .75;
}

.btn-submit:not(:disabled):hover {
    opacity: .88;
    transform: translateY(-1px);
}

.btn-cyan {
    transition: opacity .2s, transform .15s;
}

.btn-cyan:hover {
    opacity: .85;
    transform: translateY(-1px);
}

.factura-modal {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.factura-modal-header {
    background: #1a3a4a;
    padding: .85rem 1.1rem;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.factura-modal-title {
    color: #fff;
    font-weight: 600;
    font-size: .92rem;
    margin: 0;
}

.factura-modal-close {
    background: rgba(255, 255, 255, .15);
    border: none;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.factura-modal-close:hover {
    background: rgba(255, 255, 255, .28);
}

.factura-checklist {
    background: #fffbf0;
    border: 1px solid #f0d080;
    border-radius: 8px;
    padding: .85rem 1rem;
}

.factura-checklist-title {
    color: #c07800;
    font-weight: 700;
    font-size: .82rem;
    margin-bottom: .5rem;
}

.factura-checklist-list {
    margin: 0;
    padding-left: 1.2rem;
    list-style: disc;
}

.factura-checklist-list li {
    color: #c07800;
    font-size: .80rem;
    line-height: 1.7;
}

.factura-preview {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.1rem 1.25rem;
    font-size: .80rem;
}

.factura-amazon {
    color: #e07b00;
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
    letter-spacing: -1px;
}

.factura-order-ref {
    font-size: .72rem;
    color: #333;
}

.factura-order-sub {
    font-size: .68rem;
    color: #888;
}

.factura-divider {
    border-color: #ddd;
    opacity: 1;
    margin: .65rem 0;
}

.factura-field-label {
    font-size: .75rem;
    font-weight: 700;
    color: #222;
    margin-bottom: .1rem;
}

.factura-field-value {
    font-size: .75rem;
    color: #444;
    line-height: 1.55;
}

.factura-total-label {
    font-size: .78rem;
    font-weight: 700;
    color: #222;
}