/* DVBOL Web registration and activation shared styling.
   Bootstrap and the existing Adminity stylesheet provide base components.
   This file holds only registration-specific styling shared by five views. */

body.dvbol-register-page {
    min-height:100vh;
    background:linear-gradient(135deg,#0A3D91 0%,#081B3A 60%,#FF8A00 140%);
    padding:32px 12px;
    font-family:"Open Sans",Arial,sans-serif}

.signup-shell {
    max-width:760px;
    margin:0 auto}
.signup-logo {
    text-align:center;
    margin-bottom:25px}
.signup-card {
    background:white;
    border-radius:14px;
    padding:32px;
    box-shadow:0 12px 35px #0002}
.signup-card h2 {
    font-size:25px;
    color:#263b59}
.signup-card label {
    font-size:13px;
    font-weight:600;
    color:#475569;
    margin-bottom:5px}
.signup-card .form-control {
    min-height:42px}
.signup-card .form-control.is-invalid {
    border-color:#e63853}
.signup-card .invalid-feedback {
    display:block;
    font-size:12px}
.signup-btn {
    background:#0A3D91;
    color:white;
    border:1px solid #0A3D91;
    font-weight:600}
.signup-btn:hover {
    background:#FF8A00;
    border-color:#FF8A00;
    color:white}
.signup-step {
    display:none}
.signup-step.active {
    display:block}
.signup-progress {
    display:flex;
    gap:6px;
    margin:18px 0 25px}
.signup-dot {
    height:5px;
    background:#dce3ed;
    border-radius:10px;
    flex:1}
.signup-dot.active {
    background:#0A3D91}
.signup-feedback {
    font-size:12px;
    color:#d62c48;
    margin:8px 0}
.signup-muted {
    font-size:12px;
    color:#73829b}
.signup-choice {
    border:1px solid #d6dfeb;
    border-radius:9px;
    padding:15px;
    cursor:pointer;
    display:block}
.signup-choice:has(input:checked) {
    border:2px solid #0A3D91;
    background:#edf4ff}
.signup-choice input {
    margin-right:7px}

@media(max-width:575px) {
    .signup-card {
    padding:20px}
}

/* Activation review: scoped to the account registration flow. */
.activation-review { border: 1px solid #dce5f1; border-radius: 13px; padding: 22px; background: #fff; }
.activation-trial-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 12px; background: #e9f7f0; color: #20734f; font-size: 12px; font-weight: 700; white-space: nowrap; }
.activation-money-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; color: #526177; font-size: 14px; }
.activation-money-row strong { color: #203654; font-size: 15px; text-align: right; }
.activation-discount-row strong { color: #208657; }
.activation-total-row { border-top: 1px solid #dce5f1; padding-top: 16px; font-weight: 700; color: #203654; }
.activation-total-row strong { font-size: 20px; color: #0a3d91; }
.activation-due-today { border-radius: 10px; background: #f0f7ff; padding: 17px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; color: #244366; }
.activation-due-today strong { color: #187a52; font-size: 27px; }
.activation-due-today small { flex-basis: 100%; line-height: 1.5; color: #61738b; }
.activation-small-note { font-size: 12px; line-height: 1.55; color: #708198; }
.activation-promo-feedback { margin: 6px 0 13px; font-size: 13px; font-weight: 600; }
.activation-promo-feedback.is-success { color: #187a52; }
.activation-promo-feedback.is-success::before { content: "\2713"; display: inline-block; margin-right: 8px; }
.activation-promo-feedback.is-error { color: #c7364b; }
.activation-promo-feedback.is-error::before { content: "!"; display: inline-block; margin-right: 8px; }
@media (max-width: 575.98px) {
    .activation-review { padding: 16px; }
    .activation-money-row { gap: 8px; }
    /* Keep the promo code and validation action on one line on phones. */
    .activation-promo-input { flex-wrap: nowrap; gap: 10px; }
    .activation-promo-input > .form-control { flex: 1 1 0; width: auto; min-width: 0; border-radius: 6px !important; }
    .activation-promo-input > .btn { flex: 0 0 auto; width: auto; padding-inline: 10px; white-space: nowrap; font-size: 12px; border-radius: 6px !important; }
}


/* Activation completed — DVBOL confirmation card */
.dvbol-activation-completed-page { display: flex; align-items: flex-start; justify-content: center; }
.dvbol-completed-shell { width: 100%; max-width: 790px; padding-top: clamp(15px, 4vh, 52px); }
.dvbol-completed-shell .signup-logo { margin-bottom: 25px; }
.dvbol-completed-card { padding: 26px 38px 38px; border-radius: 18px; overflow: hidden; box-shadow: 0 22px 70px rgba(4, 23, 54, .23); }
.dvbol-completed-lang { display: flex; justify-content: flex-end; align-items: center; gap: 7px; margin-bottom: 12px; color: #7b8ba3; }
.dvbol-completed-lang a { color: #2e507d; text-decoration: none; }
.dvbol-completed-lang a:hover { color: #0052cc; text-decoration: underline; }
.dvbol-completed-intro { text-align: center; padding: 2px 12px 26px; }
.dvbol-completed-icon { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: #e8f8ef; color: #16a779; }
.dvbol-completed-icon svg { width: 52px; height: 52px; }
.dvbol-completed-intro h1 { margin: 0 0 8px; color: #152b4a; font-size: clamp(24px, 3vw, 31px); font-weight: 700; letter-spacing: -.4px; line-height: 1.25; }
.dvbol-completed-description { margin: 0; color: #6a7b92; font-size: 15px; line-height: 1.65; }
.dvbol-completed-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0 0 23px; }
.dvbol-completed-summary-item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 18px; border: 1px solid #e2eaf5; border-radius: 12px; background: #f8faff; }
.dvbol-completed-summary-icon { flex: none; width: 41px; height: 41px; display: grid; place-items: center; border-radius: 11px; background: #e7f0ff; color: #0052cc; }
.dvbol-completed-summary-icon svg { width: 22px; height: 22px; }
.dvbol-completed-summary-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dvbol-completed-summary-label { color: #7b8ba2; font-size: 12px; font-weight: 600; }
.dvbol-completed-summary-copy strong { color: #183253; font-size: 16px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.dvbol-completed-cta { display: flex; justify-content: center; align-items: center; gap: 11px; min-height: 50px; width: 100%; border-radius: 9px; background: #0052cc; border-color: #0052cc; font-size: 15px; font-weight: 700; text-decoration: none; transition: background .15s, box-shadow .15s, transform .15s; }
.dvbol-completed-cta svg { width: 19px; height: 19px; }
.dvbol-completed-cta:hover { background: #03346f; border-color: #03346f; color: #fff; box-shadow: 0 8px 18px rgba(0,82,204,.2); transform: translateY(-1px); }
.dvbol-completed-mobile-notice { background: #eef4ff; border: 1px solid #d5e6ff; border-radius: 11px; padding: 17px 19px; color: #294669; }
.dvbol-completed-mobile-notice p { margin: 0; line-height: 1.55; }
.dvbol-completed-mobile-notice p + p { margin-top: 7px; }
.dvbol-completed-notice-title { font-weight: 700; }
@media (max-width: 575.98px) {
    .dvbol-completed-shell { padding-top: 16px; }
    .dvbol-completed-card { padding: 20px 20px 25px; border-radius: 14px; }
    .dvbol-completed-intro { padding: 6px 0 22px; }
    .dvbol-completed-icon { width: 66px; height: 66px; }
    .dvbol-completed-icon svg { width: 45px; height: 45px; }
    .dvbol-completed-summary { grid-template-columns: 1fr; }
    .dvbol-completed-summary-item { padding: 14px; }
}
