/* Общие стили */
body {
    padding-top: 80px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

/* Стили для формы входа */
.login-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.login-container {
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 40px 35px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo i {
    font-size: 50px;
    color: white;
}

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

.login-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #444;
}

.form-control {
    height: 50px;
    padding: 0.75rem 1.25rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.15);
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
}

.btn-login {
    background: #1e3a8a;
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s;
}

/* Добавляем стили для состояния наведения */
.btn-login:hover {
    background: #1e3a8a !important;
    color: white !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.login-links a {
    color: #1e3a8a;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.login-links a:hover {
    color: #0d1b4d;
    text-decoration: underline;
}

.divider {
    position: relative;
    margin: 2rem 0;
    text-align: center;
}

.divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    transition: all 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
}


/* Адаптивность */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .login-section {
        padding: 40px 15px;
    }

    .login-container {
        padding: 30px 25px;
    }

    .login-logo {
        width: 100px;
        height: 100px;
    }

    .login-logo i {
        font-size: 40px;
    }

    .login-title {
        font-size: 1.6rem;
    }

}

@media (max-width: 576px) {
    .login-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .form-control {
        height: 46px;
        padding: 0.65rem 1rem;
    }
}