﻿@font-face {
    font-family: Vazir;
    src: 
    url('../fonts/Vazir.woff2') format('woff2'),
    url('../fonts/Vazir.woff') format('woff');
    font-weight: normal;
}
:root {
    --primary-color: #1dc9dd;
    --secondary-color: #68bf7a;
    --accent-color: #f82264;
    --light-color: #f5f5f8;
    --dark-color: #333;
    --warning-color: #ffc107;
    --danger-color: #e53935;
    --info-color: #17a2b8;
    --purple-color: #6f42c1;
    --pink-color: #e83e8c;
}

body {
    font-family: 'Vazir', sans-serif !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.login-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--light-shadow);
    overflow: hidden;
    width: 90%;
    max-width: 1000px;
    display: flex;
    min-height: 550px;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d8abc 100%);
    color:white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .login-left::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }

    .login-left::after {
        content: '';
        position: absolute;
        bottom: -80px;
        left: -80px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }

.school-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: var(--light-shadow);
    z-index: 1;
}

.login-right {
    flex: 1.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-control {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
    }

.btn-login {
    background-color: var(--warning-color) !important;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-login:hover {
        background-color: #3a59c7;
        transform: translateY(-2px);
    }

.btn-temp {
    background-color: var(--accent-color)!important;
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-temp:hover {
        background-color: #e6ac00;
        transform: translateY(-2px);
    }

.login-title {
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
}

    .login-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 0;
        width: 50px;
        height: 3px;
        background-color: var(--accent-color);
    }

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

    .forgot-link:hover {
        color: #3a59c7;
        text-decoration: underline;
    }

.pwa-info {
    background-color: #f8f9fc;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    border-right: 4px solid var(--accent-color);
}

.feature-icon {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 90%;
    }

    .login-left {
        padding: 30px 20px;
    }

    .login-right {
        padding: 30px 20px;
    }
}
.loading {
    /*font-family: Arial;
        font-size: 10pt;
        border: 5px solid #67CFF5;*/
    border-radius: 3px;
    width: 200px;
    height: 200px;
    display: none;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.00);
    z-index: 2000;
    color: #797979;
    text-align: center;
}
.modal2 {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(229, 229, 229, 0.45);
    z-index: 99;
    /*opacity: 0.5;*/
    filter: alpha(opacity=90);
    -moz-opacity: 0.9;
    min-height: 100%;
    width: 100%;
}
