﻿.alt-link {
    color: #0d6efd;
    text-decoration: underline;
    cursor: pointer;
}
#MobileNumbers {
    direction: ltr;
    align-items: start;
    align-content: start;
    margin-inline-start: auto;
    width: max-content;
}

.filepond--root {
    width: 100%
}

.filepond--drop-label {
    padding: .75rem 1rem
}

[dir="rtl"] .filepond--panel-root {
    direction: rtl;
    text-align: right
}
    .alt-link:hover {
        text-decoration: underline;
    }

    .alt-link:focus-visible {
        outline: auto;
    }

:root {
    --gold: #D29F4C;
    --green: #0c5b4f;
    --text: #222;
    --muted: #6b7280;
    --error: #d93737;
    --ok: #157347;
    --radius: 12px;
    --gap: 10px;
}
/* صف بديل أسفل الـ OTP */
.alt-auth {
    margin-top: 16px;
    margin-right: 180px;
}

/* في حاوية RTL: flex-end = يسار بصريًا  */
.rtl-left {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end; /* يحرّك المجموعة لليسار في RTL */
}

/* شارة "أو" */
.or-chip {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-weight: 700;
    color: var(--muted, #6b7280);
    background: #fff;
    line-height: 1.2;
}

.otp-card {
    max-width: 860px;
    margin: 16px auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,.06)
}

.row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap
}

.col {
    flex: 1 1 320px;
    min-width: 280px
}

.label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px
}

.inline {
    display: flex;
    gap: 12px;
    align-items: center
}

.input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 16px;
    direction: ltr;
    text-align: left
}

    .input:focus {
        outline: none;
        border-color: var(--gold);
        box-shadow: 0 0 0 .2rem rgba(210,159,76,.25)
    }

.btn {
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--green);
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font-weight: 600
}

    .btn:hover {
        filter: brightness(1.05)
    }

    .btn:disabled {
        opacity: .6;
        cursor: not-allowed
    }

.btn-outline {
    background: #fff;
    color: var(--green);
    border-color: var(--gold)
}

    .btn-outline:hover {
        background: var(--gold);
        color: #fff
    }

.otp-group {
    display: flex;
    gap: var(--gap);
    justify-content: flex-start;
    margin-top: 6px
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .5px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all .15s ease
}

    .otp-input:focus {
        outline: none;
        border-color: var(--gold);
        box-shadow: 0 0 0 .2rem rgba(210,159,76,.25);
        transform: translateY(-1px)
    }

.hint {
    display: block;
    margin-top: 6px;
    font-size: .9rem
}

.hide {
    display: none
}

.error {
    color: var(--error)
}

.success {
    color: var(--ok)
}

.mt-6 {
    margin-top: 6px
}

.mt-8 {
    margin-top: 8px
}

@@media (max-width:480px) {
    .otp-input {
        width: 40px;
        height: 52px;
        font-size: 20px
    }

    .inline {
        flex-direction: column;
        align-items: stretch
    }

    .btn-outline {
        width: 100%
    }
}
.filepond--root.pond-invalid .filepond--panel-root {
    border: 1px solid #ff0000 !important;
}

.btn-outline-warning-custom {
    display: inline-block;
    padding: 8px 20px;
    font-family: "Tajawal",sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #b8860b;
    background: transparent;
    border: 1.5px solid #FFD700;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: all .3s ease-in-out
}

    .btn-outline-warning-custom:hover {
        background: #FFD700;
        color: #000;
        transform: translateY(-2px);
        box-shadow: 0 2px 6px rgba(184,134,11,.4)
    }

    .btn-outline-warning-custom:active {
        transform: translateY(0);
        box-shadow: 0 1px 3px rgba(184,134,11,.4)
    }
