/* Sigma Gatekeeper — Verification Flow Styles */

/* ── Container ── */
.sgk-verify-wrap {
    max-width: 520px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.sgk-verify-wrap h2 {
    margin: 0 0 5px;
    font-size: 22px;
    color: #1a202c;
}

.sgk-verify-subtitle {
    color: #718096;
    margin-bottom: 25px;
    font-size: 14px;
}

/* ── Progress Steps ── */
.sgk-verify-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 0;
}

.sgk-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.sgk-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background: #e2e8f0;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.sgk-step-label {
    font-size: 11px;
    margin-top: 4px;
    color: #a0aec0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sgk-step-active .sgk-step-num {
    background: #2563eb;
    color: #fff;
}
.sgk-step-active .sgk-step-label {
    color: #2563eb;
}

.sgk-step-done .sgk-step-num {
    background: #38a169;
    color: #fff;
}
.sgk-step-done .sgk-step-num::after {
    content: '✓';
    font-size: 16px;
}
.sgk-step-done .sgk-step-label {
    color: #38a169;
}

.sgk-step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    min-width: 40px;
    margin: 0 8px;
    margin-bottom: 18px;
}

/* ── Sections ── */
.sgk-verify-section {
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

.sgk-verify-section h3 {
    font-size: 16px;
    margin: 0 0 10px;
    color: #2d3748;
}

.sgk-verify-section p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}

/* ── OTP Input ── */
.sgk-otp-input-wrap {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    align-items: center;
}

.sgk-otp-input-wrap input[type="text"],
.sgk-otp-input-wrap input[type="tel"] {
    font-family: 'Courier New', Courier, monospace;
    font-size: 24px;
    letter-spacing: 8px;
    text-align: center;
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    width: 180px;
    transition: border-color 0.2s;
}

.sgk-otp-input-wrap input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* ── Phone input ── */
.sgk-phone-input-wrap {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.sgk-phone-input-wrap input[type="tel"] {
    font-size: 16px;
    letter-spacing: normal;
    width: 250px;
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
}

/* ── Buttons ── */
.sgk-btn-primary {
    background: #2563eb !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.sgk-btn-primary:hover {
    background: #1d4ed8 !important;
}

.sgk-btn-primary:disabled {
    background: #a0aec0 !important;
    cursor: not-allowed !important;
}

.sgk-link-btn {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    padding: 0;
}

.sgk-link-btn:hover {
    color: #1d4ed8;
}

.sgk-link-btn:disabled {
    color: #a0aec0;
    cursor: not-allowed;
}

/* ── Feedback Messages ── */
.sgk-feedback {
    margin: 10px 0;
    padding: 0;
    font-size: 13px;
    min-height: 20px;
}

.sgk-feedback.sgk-success {
    color: #38a169;
}

.sgk-feedback.sgk-error {
    color: #e53e3e;
}

.sgk-feedback.sgk-info {
    color: #3182ce;
}

/* ── Success State ── */
.sgk-verify-success {
    text-align: center;
    padding: 30px 0 !important;
}

.sgk-verify-success h3 {
    color: #38a169;
    font-size: 20px;
}

/* ── Gate Notice ── */
.sgk-gate-notice {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    padding: 20px 25px;
    border-radius: 4px;
    margin: 20px 0;
}

.sgk-gate-notice p {
    margin: 0 0 15px;
    color: #4a5568;
}

/* ── Register Wrap ── */
.sgk-register-wrap {
    max-width: 520px;
    margin: 40px auto;
}

.sgk-register-wrap h2 {
    margin-bottom: 5px;
}

.sgk-register-desc {
    color: #718096;
    margin-bottom: 25px;
    font-size: 14px;
}

/* ── Verify Required Banner ── */
.sgk-verify-required {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
}

.sgk-verify-required h3 {
    color: #c53030;
}

/* ── Price Hidden ── */
.sgk-price-hidden {
    font-style: italic;
    color: #a0aec0;
    font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .sgk-verify-wrap {
        margin: 20px 10px;
        padding: 20px;
    }

    .sgk-otp-input-wrap {
        flex-direction: column;
    }

    .sgk-otp-input-wrap input {
        width: 100% !important;
    }

    .sgk-phone-input-wrap {
        flex-direction: column;
    }

    .sgk-phone-input-wrap input {
        width: 100% !important;
    }
}
