/* BRITIXO_MYACCOUNT_VOIP_SERVICES_V1 */

#voip-services {
    --voip-border: #dce4ef;
    --voip-soft: #f6f9fd;
    --voip-ink: #10213d;
    --voip-muted: #61708a;
}

.voip-portal {
    display: grid;
    gap: 20px;
}

.voip-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(220px, .45fr);
    gap: 28px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--voip-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 15%, rgba(42, 104, 220, .11), transparent 30%),
        linear-gradient(135deg, #ffffff, #f5f8fd);
    overflow: hidden;
}

.voip-hero h1 {
    margin: 4px 0 12px;
}

.voip-hero-lead {
    max-width: 820px;
    margin: 0;
    color: var(--voip-muted);
    line-height: 1.7;
}

.voip-hero-visual img {
    display: block;
    width: 100%;
    max-height: 190px;
    object-fit: contain;
}

.voip-security-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.voip-security-strip span {
    padding: 7px 10px;
    border: 1px solid #d9e5f6;
    border-radius: 999px;
    background: #fff;
    color: #395273;
    font-size: 12px;
    font-weight: 600;
}

.voip-status-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid var(--voip-border);
    border-radius: 14px;
    background: #fff;
}

.voip-status-card > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.voip-status-card p {
    margin: 0;
    color: var(--voip-muted);
    text-align: right;
}

.voip-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d29b28;
    box-shadow: 0 0 0 4px rgba(210, 155, 40, .12);
}

.voip-status-card.is-ready .voip-status-dot {
    background: #1d9a62;
    box-shadow: 0 0 0 4px rgba(29, 154, 98, .12);
}

.voip-alert {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #d7e4f5;
    background: #f4f8ff;
    color: #23446e;
}

.voip-alert.is-error {
    border-color: #f0c7c7;
    background: #fff6f6;
    color: #922f2f;
}

.voip-alert.is-success {
    border-color: #bce4cf;
    background: #f2fbf6;
    color: #176b45;
}

.voip-form {
    display: grid;
    gap: 18px;
}

.voip-form-intro {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    padding: 22px;
    border: 1px solid var(--voip-border);
    border-radius: 16px;
    background: #fff;
}

.voip-form-intro h2 {
    margin: 4px 0 8px;
}

.voip-form-intro p {
    margin: 0;
    color: var(--voip-muted);
}

.voip-kicker {
    color: #4e6e9d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.voip-progress {
    min-width: 220px;
    color: var(--voip-muted);
    font-size: 12px;
}

.voip-progress-track {
    height: 6px;
    margin-top: 8px;
    border-radius: 999px;
    background: #e8edf5;
    overflow: hidden;
}

.voip-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #2c69c9;
    transition: width .2s ease;
}

.voip-sections {
    display: grid;
    gap: 14px;
}

.voip-section {
    margin: 0;
    padding: 22px;
    border: 1px solid var(--voip-border);
    border-radius: 16px;
    background: #fff;
}

.voip-section legend {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    margin: 0 0 18px;
    padding: 0;
    color: var(--voip-ink);
    font-size: 16px;
    font-weight: 700;
}

.voip-section legend span {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: #eaf2ff;
    color: #245cae;
    font-size: 13px;
}

.voip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.voip-span-2 {
    grid-column: span 2;
}

.voip-section label,
.voip-block-label {
    display: grid;
    gap: 7px;
    color: #34445d;
    font-size: 13px;
    font-weight: 600;
}

.voip-section input[type="text"],
.voip-section input[type="date"],
.voip-section input[type="number"],
.voip-section select,
.voip-section textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #cfd9e8;
    border-radius: 9px;
    background: #fff;
    color: #17253a;
    font: inherit;
    font-weight: 400;
    box-sizing: border-box;
}

.voip-section textarea {
    min-height: 82px;
    resize: vertical;
}

.voip-section input:focus,
.voip-section select:focus,
.voip-section textarea:focus {
    outline: 2px solid rgba(44, 105, 201, .16);
    border-color: #5687d5;
}

.voip-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.voip-check-grid label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    min-height: 42px;
    padding: 10px 11px;
    border: 1px solid #e0e6ef;
    border-radius: 9px;
    background: var(--voip-soft);
    font-weight: 500;
}

.voip-check-grid input {
    margin-top: 2px;
}

.voip-conditional {
    margin-top: 18px;
    padding: 16px;
    border: 1px dashed #cbd8ea;
    border-radius: 12px;
    background: #f9fbfe;
}

.voip-submit-card {
    padding: 22px;
    border: 1px solid #cad7e8;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7faff, #fff);
}

.voip-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #34445d;
    line-height: 1.55;
}

.voip-consent input {
    margin-top: 4px;
}

.voip-submit-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e1e8f1;
}

.voip-submit-actions p {
    max-width: 720px;
    margin: 0;
    color: var(--voip-muted);
    font-size: 13px;
}

.voip-submit-actions button[disabled] {
    opacity: .6;
    cursor: wait;
}

@media (max-width: 900px) {
    .voip-hero {
        grid-template-columns: 1fr;
    }

    .voip-hero-visual {
        display: none;
    }

    .voip-status-card,
    .voip-form-intro,
    .voip-submit-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .voip-status-card p {
        text-align: left;
    }

    .voip-progress {
        min-width: 0;
    }

    .voip-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .voip-hero,
    .voip-section,
    .voip-form-intro,
    .voip-submit-card {
        padding: 16px;
        border-radius: 13px;
    }

    .voip-grid,
    .voip-check-grid {
        grid-template-columns: 1fr;
    }

    .voip-span-2 {
        grid-column: span 1;
    }
}
