.navbar .language-toggle::after{
    display: none;
}
.auth-box {
    height: 80vh;
}
.logo-sec{
    background: linear-gradient(168.02deg, #42c0f0 -4.4%, #1b789c 108.78%);
    overflow: hidden;
}
.logo-sec .bg-img{
    filter: brightness(0) invert(1);
    opacity: 10%;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.body-en{direction: rtl;text-align: left;}
.body-en .dropdown-menu.lang{
    text-align-last: left;
    width: 100%;
}
.body-en input{
    text-align: left;
}

.body-ar{direction: ltr;text-align: right;}
.body-ar .dropdown-menu.lang{
    text-align-last: right;
    width: 100%;
}
.body-ar input{
    text-align: right;
}

.doctor-auth-form .input-group[dir="rtl"] span{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.doctor-auth-form .input-group:focus-within .input-group-text {
  border-color: #42c0f0 !important;
}

.otp-input {
    width: 55px;
    height: 55px;
    font-size: 22px;
    border: 1px solid #D5D5D5;
    border-radius: 8px;
}

.success-img {
  opacity: 0;
  transform: scale(0.5);
  animation: popIn 0.5s ease forwards, bounce 0.5s 0.5s ease;
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

label.form-label{
    text-transform: capitalize;
}

.doctor-auth-form .btn-primary,
.auth-box .btn-primary {
    box-shadow: none;
    transition: all 0.3s ease;
}

.doctor-auth-form .btn-primary:hover,
.auth-box .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.doctor-auth-form .btn-primary:active,
.auth-box .btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

div:where(.swal2-container) h2:where(.swal2-title){
    font-size: 1em !important;
}


/* تصميم صندوق الرفع */
.doctor-auth-form .upload-zone {
    border: 2px dashed #ced4da;
    border-radius: 12px;
    background-color: #f8f9fa;
    padding: 25px 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}
.doctor-auth-form .upload-zone:hover {
    border-color: #42c0f0;
    background-color: #f0f4fb;
}
/* إخفاء زر الرفع الافتراضي وجعله يغطي المساحة بالكامل */
.doctor-auth-form .upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.doctor-auth-form .upload-icon {
    font-size: 1.5rem;
    color: #adb5bd;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}
.doctor-auth-form .upload-zone:hover .upload-icon {
    color: #42c0f0;
}

/* تصميم كارت الملف بعد الرفع */
.doctor-auth-form .file-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}
.doctor-auth-form .file-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}
.doctor-auth-form .file-name-text {
    font-size: 13px;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



@media (max-width: 992px) {
    .auth-box .auth-img .logo img{
        height: 150px;
    }
}

@media (max-width: 767px) {
    .auth-box {
        height: auto !important;
    }
    .auth-box-row {height: auto !important;}

    .auth-box .auth-form{
        order: 1;
    }
    .auth-box .auth-img{
        order: 0;
    }

    .doctor-auth-form{height: auto !important;}
    .auth-img .doctor-bg{
        width: 100%;
        height: auto !important;
    }
}
