.ezzesend-otp-register {
    width: min(100%, 560px);
    margin: 32px auto;
    padding: 0;
    direction: rtl;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
    font-family: inherit;
}

.ezzesend-otp-register *,
.ezzesend-otp-register *::before,
.ezzesend-otp-register *::after {
    box-sizing: border-box;
}

.ezzesend-otp-register::before {
    display: block;
    height: 5px;
    background: linear-gradient(90deg, #0f766e, #14b8a6);
    content: "";
}

.ezzesend-otp-register h2 {
    margin: 0;
    padding: 30px 30px 8px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.ezzesend-otp-register h2::after {
    display: block;
    max-width: 380px;
    margin: 10px auto 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    content: "أدخل رقم واتسابك أولاً، ثم أكمل إنشاء حسابك بعد التحقق";
}

.ezzesend-otp-form {
    display: grid;
    gap: 16px;
    padding: 24px 30px 32px;
}

.ezzesend-otp-grid,
.ezzesend-otp-phone-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ezzesend-otp-register label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.ezzesend-otp-register input {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    direction: rtl;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ezzesend-otp-register input:focus {
    border-color: #14b8a6;
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .12);
}

.ezzesend-otp-phone-row {
    grid-template-columns: 120px minmax(0, 1fr);
}

.ezzesend-otp-dial {
    max-width: none;
}

.ezzesend-otp-dial input,
.ezzesend-otp-mobile input,
.ezzesend-code-section input {
    direction: ltr;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.ezzesend-otp-register button {
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    background: #0f766e;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

.ezzesend-otp-register button:hover {
    background: #115e59;
    transform: translateY(-1px);
}

.ezzesend-otp-register button:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

.ezzesend-send-code {
    margin-top: 2px;
}

.ezzesend-code-section {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px dashed #99f6e4;
    border-radius: 14px;
    background: #f0fdfa;
}

.ezzesend-code-section[hidden] {
    display: none;
}

.ezzesend-verify-code {
    background: #0f172a !important;
}

.ezzesend-create-account {
    margin-top: 4px;
}

.ezzesend-otp-message {
    display: none;
    margin: 0 30px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.ezzesend-otp-message:not(:empty) {
    display: block;
}

.ezzesend-otp-message--success {
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.ezzesend-otp-message--error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.ezzesend-otp-message--info {
    border: 1px solid #bae6fd;
    background: #f0f9ff;
    color: #0369a1;
}

@media (max-width: 640px) {
    .ezzesend-otp-register {
        margin: 18px 12px;
        border-radius: 18px;
    }

    .ezzesend-otp-register h2 {
        padding: 24px 20px 8px;
        font-size: 24px;
    }

    .ezzesend-otp-form {
        padding: 20px;
    }

    .ezzesend-otp-message {
        margin: 0 20px;
    }

    .ezzesend-otp-grid {
        grid-template-columns: 1fr;
    }

    .ezzesend-otp-phone-row {
        grid-template-columns: 100px minmax(0, 1fr);
    }
}


.ezzesend-otp-footnote {
    margin: 0;
    padding: 0 30px 28px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

.ezzesend-otp-register h2::after {
    content: "سجّل باسمك ورقم واتساب فقط";
}

@media (max-width: 640px) {
    .ezzesend-otp-footnote {
        padding-inline: 20px;
    }
}
