@font-face {
    font-family: 'TheYearofTheCamel-Regular';
    src: url('/fonts/TheYearofTheCamel-Regular.otf');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TheYearofTheCamel-ExtraBold';
    src: url('/fonts/TheYearofTheCamel-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheYearofTheCamel-Bold';
    src: url('/fonts/TheYearofTheCamel-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'TheYearofTheCamel-Regular';
    background: #ffffff;
}

/* ===== Main Wrapper ===== */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

/* ===== Logo ===== */
.logo {
    position: absolute;
    top: 32px;
    right: 40px;
    z-index: 3;
}

.logo img {
    max-width: 150px;
    height: auto;
}

/* ===== Watermark (Scales) ===== */
.watermark {
    position: absolute;
    top: 50%;
    left: 1px;
    transform: translateY(-50%);
    width: 950px;
    height: 900px;
    background: url("../assets/images/scales-bg.png") no-repeat center;
    background-size: contain;
   /* opacity: 0.04;*/
    z-index: 1;
    pointer-events: none;
}

/* ===== Auth Card ===== */
.inner-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 42px 36px;
    border-radius: 16px;
    box-shadow: 0 10px 45px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    text-align: right;
}

/* ===== Headings ===== */
.inner-card h2 ,.inner-card h2.success_title{
    color:  #01293A;
    text-align: center;
    font-family: "TheYearofTheCamel-ExtraBold";
    font-size: 32px;
    font-style: normal;
    font-weight: 900;
    line-height: 150%; /* 48px */
}

.subtitle,.inner-card p.success_desc  {
    font-size: 14px;
    color: #3E3E3E;
    text-align: center;
    font-family: "TheYearofTheCamel-Bold";
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: 150%; /* 30px */
}

/* ===== Inputs ===== */
.form-control {
    height: 48px;
  
    padding: 0 14px;
    font-size: 14px;
    width:100%;
    margin-top:10px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;

}

.form-control:focus {
    border-color: #0b2c3d;
    box-shadow: none;
}

/* ===== Button ===== */
.btn-primary {
    background-color: #0b2c3d;
    color:#fff;
    border: none;
    height: 48px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #083042;
}

/* ===== Validation ===== */
.invalid-feedback {
    text-align: right;
    font-size: 13px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 992px) {
    .watermark {
        width: 655px;
        height: 769px;
        left: 0px;
        top: 452px;
    }
}

@media (max-width: 768px) {
    .logo {
        position: static;
        text-align: center;
        margin-bottom: 24px;
    }

    .page-wrapper {
        flex-direction: column;
    }

    .watermark {
        display: none !important;
    }

    .inner-card {
        padding: 32px 24px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .inner-card h4 {
        font-size: 20px;
    }

    .subtitle {
        font-size: 13px;
    }
}
       /* Toast Notification Styles */
       .toast-container {
        position: fixed;
        top: 20px;
        right: 20px;
        left: auto;
        z-index: 10001 !important;
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        pointer-events: none;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .toast-container .toast {
        pointer-events: auto;
    }
    
    .toast {
        min-width: 300px;
        max-width: 400px;
        padding: 16px 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        gap: 12px;
        animation: slideInRight 0.3s ease-out;
        direction: rtl;
        font-family: 'Cairo', sans-serif;
    }
    
    .toast.success {
        background-color: #10b981;
        color: white;
    }
    
    .toast.error {
        background-color: #ef4444;
        color: white;
    }
    
    .toast.warning {
        background-color: #f59e0b;
        color: white;
    }
    
    .toast.info {
        background-color: #3b82f6;
        color: white;
    }
    
    .toast-icon {
        font-size: 20px;
        flex-shrink: 0;
    }
    
    .toast-message {
        flex: 1;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .toast-close {
        background: none;
        border: none;
        color: white;
        font-size: 18px;
        cursor: pointer;
        padding: 0;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.8;
        transition: opacity 0.2s;
    }
    
    .toast-close:hover {
        opacity: 1;
    }
    
    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideOutRight {
        from {
            transform: translateX(0);
            opacity: 1;
        }
        to {
            transform: translateX(100%);
            opacity: 0;
        }
    }
    
    .toast.hiding {
        animation: slideOutRight 0.3s ease-out forwards;
    }
    
    @media (max-width: 768px) {
        .toast-container {
            left: 10px;
            right: 10px;
            top: 10px;
        }
        .toast {
            min-width: auto;
            max-width: 100%;
        }
    }
    
.otp-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}

.otp-modal {
background: #fff;
width: 380px;
padding: 30px;
border-radius: 14px;
text-align: center;
direction: rtl;
position: relative;
}

.otp-close-btn {
position: absolute;
top: 10px;
left: 15px;
font-size: 28px;
font-weight: bold;
color: #333;
cursor: pointer;
line-height: 1;
}

.otp-close-btn:hover {
color: #e00;
}

.otp-title {
font-size: 20px;
margin-bottom: 10px;
font-weight: 700;
}

.otp-desc {
font-size: 14px;
color: #555;
margin-bottom: 25px;
}

.otp-inputs {
display: flex;
justify-content: space-between;
gap: 10px;
margin-bottom: 20px;
}

.otp-inputs input {
width: 45px;
height: 55px;
font-size: 22px;
text-align: center;
border: 1.5px solid #ddd;
border-radius: 8px;
outline: none;
}

.otp-inputs input:focus {
border-color: #0d3b3b;
}

.otp-timer {
font-size: 13px;
color: #666;
margin-bottom: 20px;
}

#timer {
color: #0d3b3b;
font-weight: bold;
}

.otp-btn {
width: 100%;
padding: 12px;
background: #0d3b3b;
color: #fff;
border: none;
border-radius: 10px;
font-size: 16px;
cursor: pointer;
}

.otp-btn:hover {
opacity: 0.9;
}
/**thanks css**/


.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #0f3d3d;
    color: #fff;
    border-radius: 50%;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(15, 61, 61, 0.15);
}
.phone-input-group input{
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}
.phone-input-group .country-code {
    font-family: "TheYearofTheCamel-Regular";
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
   /* border-right: 0;*/
    display: flex;
    align-items: center;
    /*gap: 8px;*/
    padding: 0 8px;
    height: 49px;
    margin-top: 10px;
    margin-right: 10px;
}

.phone-input-group .flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.phone-input-group .code {
    font-weight: 600;
    color: #01293A;
    direction: ltr;
    padding-left: 5px;

}

.phone-input-group .form-control {
    /*border-left: 0;*/
}

.phone-input-group .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}




