@font-face {
    font-family: 'Vazir';
    font-weight: bold;
    src: url('font/Vazir-Bold-FD-WOL.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    font-weight: 300;
    src: url('font/Vazir-Light-FD-WOL.woff') format('woff');
    font-display: swap;
}



.auth-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f1ff;
    font-family: 'Vazir', 'Tahoma', system-ui, sans-serif;
    direction: rtl;
    padding: 40px 20px;
}

.auth-card {
    width: 900px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* سمت چپ فرم */
.auth-left {
    width: 70%;
    padding: 50px;
}

.auth-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}

.auth-subtitle {
    font-size: 13px;
    color: #777;
    margin-bottom: 25px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-icon {
    position: absolute;
    right: 14px;
    top: 11px;
    font-size: 18px;
}

.auth-input {
    width: 100%;
    padding: 12px 45px 12px 12px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #f6f7ff;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
}

.auth-input:focus {
    border-color: #7f5bff;
    background: #fff;
}

.auth-btn {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #7f5bff, #6246ea);
    color: white;
    font-size: 15px;
    cursor: pointer;
    margin-top: 8px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(98, 70, 234, 0.3);
}

.auth-btn-secondary {
    background: #eee;
    color: #333;
}

.status-msg {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

.resend-wrapper {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #666;
}

.auth-divider {
    margin: 30px 0;
    text-align: center;
    position: relative;
}

.auth-divider:before {
    content: "";
    height: 1px;
    background: #eee;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
}

.auth-divider span {
    background: #fff;
    padding: 0 12px;
    position: relative;
}

.toggle-mode-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
    margin-top: 10px;
    color: #434750;
}

.toggle-mode-btn:focus{
    background-color: cornflowerblue;
}

.toggle-mode-btn:hover {
    background: #f5f5ff;
    border-color: #7f5bff;
    color: #674aee;
}

.mode-info {
    background: #eef2ff;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
    color: #4b3b9e;
}

/* سمت راست تصویر */
.auth-right {
    width: 50%;
    background: linear-gradient(135deg, #7f5bff, #6246ea);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    height:600px;
    
    img{
    width:100%;
    height:100%;
    object-fit:cover;
}
}

.wholesale-mode {
   .auth-right , .auth-btn{
    background: linear-gradient(135deg, #ffab5a, #ea4646) !important;
} 

.tak_image{
   display:none ;
}
.wholesale_image{
    display:block ;
}
}

.tak_image{
   display:block; 
}
.wholesale_image{
    display:none;
}
.mode-info{
        background: #ffe3e1 !important;
   
    color: #eb4b47 !important;
}


.auth-illustration {
    text-align: center;
}

.illustration-text {
    margin-top: 15px;
    font-size: 16px;
}

  .tak_image_mobile , .wholesale_image_mobile {
        display:none ;
    }


@media (max-width: 768px) {
    .auth-title{
            font-size: 20px;
    margin-bottom: 16px;
    }
    .auth-card {
        flex-direction: column-reverse;
        width: 100%;
    }

    .auth-right {
                width: 100%;
        height: 167px;
        overflow: hidden;
    }

    .auth-left {
        width: 100%;
        padding: 30px;
    }
    .tak_image_mobile {
        display:block;
    }
    
    .wholesale_image_mobile {
        display:none ;
    }
    
    
    .wholesale-mode{
        .tak_image_mobile {
        display:none;
    }
    
    .wholesale_image_mobile {
        display:block ;
    }
    
    }
     .tak_image , .wholesale_image {
        display:none !important;
    }
}


#customer-auth-form input{
    border: 1px solid #eee;
    padding: 14px;
    border-radius: 10px;
}

