﻿

@font-face {
    font-family: 'ProjectYekanFont';
    src: url('/dist/assets/fonts/YekanBakh-2-Pro/YekanBakhFamily/Webfonts/fonts/woff2/YekanBakh-Regular.woff2') format('woff2'), 
        url('/dist/assets/fonts/YekanBakh-2-Pro/YekanBakhFamily/Webfonts/fonts/woff/YekanBakh-Regular.woff') format('woff'),
        url('/dist/assets/fonts/YekanBakh-2-Pro/YekanBakhFamily/TTF/YekanBakh-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: auto;
}

body {
    font-family: ProjectYekanFont !important;
}

.MyValidationError {
    direction: rtl;
    background-color: #ffebee;
    color: #d32f2f; 
    border: 2px solid #d32f2f; 
    border-radius: 8px; 
    padding: 10px; 
    margin-bottom: 15px; 
    font-weight: bold; 
    text-align: center; 
}

.MyValidationSuccess {
    direction: rtl;
    background-color: #e8f5e9; 
    color: #2e7d32; 
    border: 2px solid #2e7d32;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.custom-btn {
    background-color: #5A189A !important;
}


.login-align-items
{
    align-items: center !important;
}

@media (max-width: 960px) {
    .login-align-items {
        align-items: start !important;
    }

    .auth-card-login {
        height: 88vh !important;
        background: #fff;
    }

    .obj-right {
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 2;
    }

    .obj-right-forget {
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 5;
    }
}

.auth-card-login {
    height: 100vh ;
}

.container {
    margin: 0 auto;
    width: 80%;
    text-align: center;
    direction: rtl;
}

#introduce {
    display: block;
    width: 100%;
    font-size: 35px;
    font-weight: bold;
    color: white;
    padding-bottom: 5px;
    background-color: #4CAF50;
    text-decoration: none;
    margin-bottom: 15px;
}

.custom-plant-img {
    position: absolute !important;
    left: 0;
    bottom: 0;
    z-index: 0 !important;
}

.auth-card {
    position: relative !important;
    z-index: 2 !important; 
}


.password-container {
    position: relative;
    width: 100%;
}

    .password-container input {
        width: 100%;
        padding-right: 40px; /* فضای خالی برای آیکون چشم */
    }

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
    font-size: 1.2rem;
}