@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap');

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Vazirmatn', sans-serif;
    background-color: #0d6efd;
    margin: 0;
    padding: 1rem;
    color: #495057;
    box-sizing: border-box;
}

.login-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.5s ease-in-out;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    text-align: right;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #212529;
}

.input-group {
    margin-bottom: 1rem;
    text-align: right;
}

.input-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.login-options a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.85rem 1rem; /* پدینگ بروز شده */
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    gap: 0.75rem;
    box-sizing: border-box; /* اطمینان از محاسبه صحیح اندازه */
}

.btn-primary {
    background-color: #0d6efd;
    color: white;
}
.btn-primary:hover {
    background-color: #0b5ed7;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
    margin: 1.5rem 0;
    font-size: 0.85rem;
}
.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}
.separator:not(:empty)::before { margin-left: .5em; }
.separator:not(:empty)::after { margin-right: .5em; }


.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-google { background-color: #DB4437; color: white; }
.btn-google:hover { background-color: #c23325; }


.footer-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.footer-link a {
    color: #0d6efd;
    font-weight: 700;
    text-decoration: none;
}