/* Новый дизайн */ /* Новый дизайн */ /* Новый дизайн */ /* Новый дизайн */ /* Новый дизайн */ /* Новый дизайн */ /* Новый дизайн */ /* Новый дизайн */

:root {
    --primary-blue: #0d6efd;
    --water-blue: #1e90ff;
    --light-water: #e6f2ff;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Шапка */
.header {
    background: linear-gradient(135deg, var(--primary-blue), #1a5dc1);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.company-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.company-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.contact-info {
    text-align: right;
}

.contact-info a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Основной контент */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.welcome-section {
    padding: 2rem;
}

.welcome-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.welcome-title span {
    color: var(--primary-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Форма входа */
.login-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    border-top: 5px solid var(--primary-blue);
}

.login-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
}

.form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.input-group-text {
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-blue), #1a5dc1);
    border: none;
    color: white;
    padding: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.register-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.register-link:hover {
    text-decoration: underline;
}

/* Футер */
.footer {
    background: #1a202c;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #90cdf4;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
        gap: 3rem;
    }

    .welcome-section {
        text-align: center;
    }

    .welcome-title {
        font-size: 2.2rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .welcome-title {
        font-size: 1.8rem;
    }

    .login-section {
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
