
.otp-container {
    max-width: 960px;
    margin: 24px auto;
    padding: 0 12px;
    color: #1f2a44;
    font-size: 16px;
    box-sizing: border-box;
}

.otp-card-shell {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #d8ecff;
    border-top: 4px solid #1da1f2;
    border-radius: 26px;
    box-shadow: 0 18px 44px rgba(15, 118, 178, .10);
    overflow: hidden;
}

.otp-card-header {
    padding: 26px 26px 22px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f2fbff 100%);
    border-bottom: 1px solid #dbeafe;
}

.otp-card-head-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.otp-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 100%);
    border: 1px solid #bfdbfe;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.otp-card-head-text {
    min-width: 0;
    flex: 1;
}

.otp-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.otp-container h3 {
    margin: 0 0 8px;
    font-size: 25px;
    line-height: 1.25;
    color: #0f172a;
    font-weight: 800;
}

.otp-container p.description {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
    max-width: 680px;
}

.otp-guide-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0 0;
}

.otp-guide-accordion {
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: rgba(255,255,255,.78);
    overflow: hidden;
}

.otp-guide-accordion summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

.otp-guide-accordion summary::-webkit-details-marker {
    display: none;
}

.otp-guide-arrow {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
    flex: 0 0 auto;
}

.otp-guide-accordion[open] .otp-guide-arrow {
    transform: rotate(180deg);
}

.otp-guide-content {
    padding: 4px 16px 16px 50px;
    border-top: 1px solid #e0f2fe;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
}

.otp-guide-content p:last-child {
    margin-bottom: 0;
}

.otp-guide-content img {
    max-width: 100%;
    height: auto;
}

.otp-guide-content ul,
.otp-guide-content ol {
    margin: 0 0 12px 18px;
}

.otp-guide-content a {
    color: #1d4ed8;
    font-weight: 700;
}

.otp-form-panel {
    padding: 22px 26px 0;
}

.otp-container .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.otp-container .form-group {
    margin-bottom: 18px;
}

.otp-container .form-group.full-width {
    grid-column: 1 / -1;
}

.otp-step-field {
    padding: 14px;
    border: 1px solid #e0edf8;
    border-radius: 18px;
    background: rgba(255,255,255,.64);
    align-self: stretch;
}

.otp-step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.otp-step-title label {
    margin: 0;
}

.otp-step-number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 900;
    flex: 0 0 auto;
}

.otp-step-desc {
    display: none;
}

.otp-container label {
    display: block;
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.otp-container input[type="email"],
.otp-container input[type="text"],
.otp-container select {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #d8e3ee;
    border-radius: 14px;
    box-sizing: border-box;
    background: #fbfdff;
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.otp-container select {
    padding-right: 42px;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 15px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.otp-container input[type="email"]::placeholder,
.otp-container input[type="text"]::placeholder {
    color: #94a3b8;
}

.otp-container input[type="email"]:focus,
.otp-container input[type="text"]:focus,
.otp-container select:focus {
    outline: none;
    border-color: #38bdf8;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(56,189,248,.14);
}

.otp-container button#submitBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 28px;
    margin: 4px 0 0;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    box-shadow: 0 12px 24px rgba(14,165,233,.24);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
}

.otp-container button#submitBtn:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
}

.otp-container button#submitBtn:disabled {
    background: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

#result {
    margin: 22px 26px 0;
    padding: 0;
    border-radius: 18px;
    font-size: 16px;
    word-wrap: break-word;
}

#result.success,
#result.error {
    padding: 15px 16px;
    border: 1px solid transparent;
}

#result.success {
    background: #effdf5;
    border-color: #bbf7d0;
    color: #166534;
}

#result.success p {
    margin: 8px 0;
    color: #166534;
    line-height: 1.6;
}

#result.success strong {
    font-size: 28px;
    letter-spacing: 1px;
    color: #15803d;
    display: inline-block;
    margin-top: 6px;
}

#result.error {
    background: #fff7ed;
    color: #9a3412;
    border-color: #fed7aa;
}

#result a {
    color: #1d4ed8;
    font-weight: 700;
}

.otp-container .notice {
    margin: 22px 26px 26px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #fffbeb, #fefce8);
    border: 1px solid #fde68a;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.55;
}

.otp-container .notice p {
    color: #92400e !important;
    margin: 6px 0;
    line-height: 1.65;
    font-weight: 700;
}

.otp-container .emoji {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
}

#p68-getmail__wrap {
    display: block !important;
}

@media (max-width: 767px) {
    .otp-container {
        margin: 16px auto;
        padding: 0 10px;
    }

    .otp-card-header,
    .otp-form-panel {
        padding-left: 18px;
        padding-right: 18px;
    }

    #result,
    .otp-container .notice {
        margin-left: 18px;
        margin-right: 18px;
    }

    .otp-card-head-row {
        gap: 12px;
    }

    .otp-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 15px;
        font-size: 20px;
    }

    .otp-container h3 {
        font-size: 22px;
    }

    .otp-guide-list {
        margin-left: 0;
    }

    .otp-container .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .otp-container button#submitBtn {
        width: 100%;
    }
}


@media (max-width: 767px) {
    .otp-guide-content {
        padding-left: 16px;
    }
    .otp-step-field {
        padding: 12px;
    }
}
