@charset "UTF-8";

.login-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    line-height: 1.9;
    color: #222;
}

.login-page a {
    color: #2f5fb3;
    text-decoration: none;
    font-weight: 600;
}

.login-page a:hover {
    text-decoration: underline;
}

.login-hero {
    margin-bottom: 28px;
}

.login-hero__text h1 {
    font-size: 2.2rem;
    line-height: 1.4;
    margin: 0 0 16px;
    color: #2c3e50;
}

.login-hero__text p {
    margin: 0;
    font-size: 1.05rem;
}

.login-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-top: 28px;
}

.login-card,
.login-section {
    margin-top: 34px;
    padding: 28px;
    background: #fffef9;
    border: 2px solid #d8c979;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.login-card {
    margin-top: 0;
}

.sub-card {
    background: #f7fbff;
    border-color: #9fbce3;
}

.login-card h2,
.login-section h2 {
    position: relative;
    margin: 0 0 20px 0;
    padding: 8px 0 10px 18px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #274c77;
    border-left: 8px solid #4f7fd6;
    line-height: 1.4;
}

.login-card h2::after,
.login-section h2::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    margin-top: 10px;
    background: linear-gradient(to right, #4f7fd6, #d8c979);
    border-radius: 999px;
}

.login-form {
    margin-top: 10px;
}

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #2c3e50;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1.8px solid #b7c7da;
    border-radius: 10px;
    background: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: #4f7fd6;
    box-shadow: 0 0 0 3px rgba(79, 127, 214, 0.12);
}

.form-actions {
    margin-top: 20px;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 700;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-align: center;
}

.primary-button {
    background: #4f46e5;
    color: #fff !important;
    border: 1px solid #4338ca;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.18);
}

.primary-button:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.secondary-button {
    background: #ffffff;
    color: #274c77 !important;
    border: 1px solid #c7d5e8;
}

.secondary-button:hover {
    background: #f3f8ff;
    transform: translateY(-1px);
}

.login-links {
    margin-top: 16px;
}

.info-box,
.error-box {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    line-height: 1.8;
}

.info-box {
    background: #f7fbff;
    border: 1px solid #cfdcf1;
    color: #274c77;
}

.error-box {
    background: #fff5f5;
    border: 1px solid #efb4b4;
    color: #9b2c2c;
}

.login-section ul {
    margin: 0;
    padding-left: 22px;
}

.login-section li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .login-page {
        padding: 20px 14px 50px;
    }

    .login-hero__text h1 {
        font-size: 1.8rem;
    }

    .login-layout {
        grid-template-columns: 1fr;
    }

    .login-card,
    .login-section {
        padding: 20px;
    }

    .login-card h2,
    .login-section h2 {
        font-size: 1.25rem;
        padding-left: 14px;
        border-left-width: 6px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        box-sizing: border-box;
    }
}