.page_container{
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: 100vh;
    max-height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: rgba(6, 117 , 8, 0.8);
    background-image: linear-gradient(rgba(2, 79, 1, 0.5), rgba(2, 79, 1, 0.5)), url('../images/holyshrine-imamreza.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login_form_container{
    width: 30%;
    max-width: 30%;
    min-width: 30%;
    height: 80vh;
    max-height: 80vh;
    min-height: 80vh;
    border-radius: 10px;
    background-color: var(--white);
    border: 2px solid var(--yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2%;
    row-gap: 10px;
    text-align: center;
    box-shadow: 0px 0px 4px rgba(--black, --black, --black, 0.3);
}

.login_logo{
    width: 15%;
    max-width: 15%;
    min-width: 15%;
}

.login_form_container p{
    color: var(--yellow);
}

#userName_input{
    background-image: url('../images/profile.png');
    background-position: 98%;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 10%;
}

.form_section, .login_form_request, .form_input_section{
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}
.form_section{
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    margin-top: 20px;
}
.form_input_section{
    height: 40px;
    max-height: 40px;
    min-height: 40px;
    background-color:var(--white);
    border: 1px solid var(--stroke);
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 1% 2%;
}
.form_input_section img{
    width: 5%;
    max-width: 5%;
    min-width: 5%;
}
#password_input{
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    width: 95%;
    max-width: 95%;
    min-width: 95%;
    border: none;
    background-image: url('../images/forgot-password.png');
    background-position: 100%;
    padding-right: 10%;
    background-repeat: no-repeat;
    background-size: 20px;
}
#password_input:focus{
    outline: none;
}
.forget_pass_trigger{
    width: 100%;
    text-align: right;
    margin-top: 20px;
    margin-bottom: 20px;
}
.forget_pass_trigger:hover{
    color: var(--black);
    cursor: pointer;
    transition: 0.3s ease-in;
}

a{
    color: var(--yellow);
    text-decoration: none;
}
.form_submit{
    margin-top: 18%;
}
.visible_icon{
    cursor: pointer;
}


/* استایل‌های پنجره انتخاب نقش */
.role_select_dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.role_select_dialog.active {
    opacity: 1;
    pointer-events: auto;
}

.role_select_backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.role_select_box {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.role_select_dialog.active .role_select_box {
    transform: scale(1);
}

.role_select_title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2e7d32; /* سبز متناسب با چایخانه */
    margin-bottom: 10px;
}

.role_select_text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

.role_select_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role_select_item {
    background: #f5f5f5;
    border: 2px solid transparent;
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.role_select_item:hover {
    background: #e8f5e9;
    border-color: #2e7d32;
    color: #2e7d32;
}


@media only screen and (max-width: 1100px){
    .login_form_container{
        width: 50%;
        max-width: 50%;
        min-width: 50%;
        height: max-content;
        max-height: max-content;
        min-height: max-content;
        padding: 5%;
    }
}

@media only screen and (max-width: 600px){
    .login_form_container{
        width: 90%;
        max-width: 90%;
        min-width: 90%;
        height: max-content;
        max-height: max-content;
        min-height: max-content;
        padding: 5%;
    }
    .login_logo{
        width: 20%;
        max-width: 20%;
        min-width: 20%;
    }
    .login_form_container p{
        color: var(--yellow);
    }
}