.header-Language-wrap {
    float: right;
    position: fixed;
    top: 45%;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #ffffff91;
    border-radius: 5px;
    display: flex;
    color: black;
    border: 1px solid #a8a8a95c;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    backdrop-filter: blur(3px);
    box-shadow: 0 0 10px 1px #00000017;
}
.header-Language-wrap > ul > li > svg {
    fill: #00f;
    width: 30px;
    height: 30px;
}
.header-Language-wrap > ul > li > ul {
    position: absolute;
    top: 0;
    right: 125%;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    transition: all .3s ease-in-out;
    padding: 5px;
    border-radius: 5px;
    gap: 5px 0;
    display: grid;
    backdrop-filter: blur(3px);
    box-shadow: 0 0 10px 1px #00000017;
    border: 1px solid #a8a8a95c;
}
.header-Language-wrap:hover > ul > li > ul  {
    opacity: 1;
    visibility: visible;
}
.header-Language-wrap > ul > li > ul > li {
    border-bottom: 1px solid #ddd;
    width: 100%;
    padding: 3px 20px;
    text-align: center;
    border-radius: 4px;
}
.header-Language-wrap > ul > li > ul > li.active_lang {
    background: #0d6efd;
}
.header-Language-wrap > ul > li > ul:hover > li.active_lang {
    background: none;
}
.header-Language-wrap > ul > li > ul:hover > li.active_lang  a {
 color: unset !important;
}
.header-Language-wrap > ul > li > ul > li:hover {
    background: #0d6efd;
}

.header-Language-wrap > ul > li > ul > li:hover {
    background: #0d6efd;
}
.header-Language-wrap > ul > li > ul > li:hover > a {
    color:#FFFFFF;
}

.header-Language-wrap > ul > li > ul > li.active_lang > a{
    color:#FFFFFF;
}
.header-Language-wrap > ul > li > ul > li.active_lang:hover > a {
    color:unset !important;
}
.header-Language-wrap > ul > li > ul > li > a{
    text-align: center;
    transition: unset !important;
}

.header-Language-wrap > ul > li > ul > li:last-child {
    border-bottom: unset;
}


/** en \ fa \ ar login page style **/
/* Login Form Styles */


.auth-step {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.auth-step.slide-out {
    opacity: 0;
    transform: translateX(50px);
}

.auth-step.slide-in {
    opacity: 1;
    transform: translateX(0);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.zubuz-account-field {
    margin-bottom: 20px;
}

.zubuz-account-field label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

/* Phone Input Container */
.phone-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.country-code {
    width: 15% !important;
   order:1;
}

.phone-number {
    width: 85%;
}

/* Verification Code Input */
.verification-input-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.verification-code {
    letter-spacing: 5px;
    text-align: center;
    transition: border-color 0.3s;
}

/* Input Focus States */
.phone-number:focus,
.verification-code:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

/* Error States */
.phone-number.is-invalid,
.verification-code.is-invalid {
    border-color: #d93025;
    box-shadow: 0 0 0 2px rgba(217, 48, 37, 0.2);
}

/* Error Message */
.error-message {
    color: #d93025;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 15px;
    display: none;
    width: fit-content;
}

/* Countdown Timer */
.countdown-timer {
    font-size: 14px;
    color: #5f6368;
    text-align: center;
    margin: 0;
}

/* Resend Link */
.resend-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.resend-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}
/* Loading Animation */
.zubuz-btn.loading span {
    visibility: hidden;
}

.btn-loader {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s infinite linear;
    display: none;
}

.zubuz-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Or Divider */
.zubuz-or {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.back-btn {
    cursor: pointer;
}
button#zubuz-account-btn.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5 !important;
}
button#zubuz-account-btn.loading:after {
    content: none;
}
.zubuz-or p {
    display: inline-block;
    background-color: white;
    padding: 0 15px;
    position: relative;
    color: #5f6368;
    margin: 0;
}

/* Message Alert */
.messages-container {
    margin-bottom: 20px;
}

.messages-container .alert {
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    max-width: 650px;
    position: relative;
    margin: auto;
}

.messages-container .alert-success {
    background-color: #e6f4ea;
    color: #1e8e3e;
    border: 1px solid #d2ebd4;
}

.messages-container .alert-error {
    background-color: #fce8e6;
    color: #d93025;
    border: 1px solid #fbcdc9;
}


.messages-container .alert-text {
    flex-grow: 1;
    font-size: 17px;
}
.messages-container .alert-close {
    font-size: 20px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.messages-container .alert-close:hover {
    opacity: 1;
}

/* Fade In/Out Animations */
.fade-in {
    animation: fadeIn 0.5s ease;
}

.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 576px) {
    .zubuz-account-wrap {
        padding: 20px;
    }

    .country-code {
        width: 25% !important;
    }

    .phone-number {
        width: 75% !important;
    }
}
