﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #c8c9ce 0%, #e3e1e6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.login-side {
    padding: 60px 50px;
}

.brand-side {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
}

.brand-icon {
    font-size: 80px;
    margin-bottom: 30px;
}

.brand-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.brand-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.login-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.user-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.user-type-tab {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

    .user-type-tab:hover {
        border-color: #3b82f6;
    }

    .user-type-tab.active {
        border-color: #3b82f6;
        background: #3b82f6;
        color: white;
    }

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem;
}

    .forgot-link:hover {
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

    .btn-login:hover {
        transform: translateY(-2px);
    }

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .brand-side {
        display: none;
    }
}




/* ---------- لوگوی برند در صفحه‌های ورود/ثبت‌نام ---------- */
.brand-logo {
    width: min(300px, 85%);
    height: auto;
    margin-bottom: 26px;
}
