@font-face {
    font-family: 'Yu Gothic';
    src: url('/Style/fonts/YuGothic-Regular.eot');
    src: url('/Style/fonts/YuGothic-Regular.eot?#iefix') format('embedded-opentype'), url('/Style/fonts/YuGothic-Regular.woff2') format('woff2'), url('/Style/fonts/YuGothic-Regular.woff') format('woff'), url('/Style/fonts/YuGothic-Regular.ttf') format('truetype'), url('/Style/fonts/YuGothic-Regular.svg#YuGothic-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --login-blue: #022a5d;
    --login-blue-dark: #011a3f;
    --login-blue-light: #0d3f83;
    --login-green: #3b8d3c;
    --login-green-dark: #2f7d32;
    --login-text: #1b1b1b;
    --login-muted: #6c7893;
    --login-border: #d7e0f1;
    --login-card: #113765;
    --login-card-hover: #1a467f;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Yu Gothic', sans-serif;
    color: var(--login-text);
    background: #f4f6fb;
}

.login-page {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

.login-hero {
    flex: 1 1 54%;
    background: linear-gradient(180deg, var(--login-blue) 0%, var(--login-blue-dark) 100%);
    color: #fff;
    padding: 48px 64px 64px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 520px;
}

.logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 168px;
    height: 78px;
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.logo-card img {
    max-width: 100%;
    height: auto;
}

.login-hero h1 {
    font-size: 34px;
    line-height: 1.25;
    margin: 0 0 18px;
    font-weight: 600;
}

.login-hero p {
    margin: 0 0 36px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    transition: transform 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
}

.feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
}

.feature-icon::after {
    content: '';
    width: 18px;
    height: 18px;
    background: #fff;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    display: block;
}

.icon-target::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 10 10A10.011 10.011 0 0 0 12 2m0 18a8 8 0 1 1 8-8a8.009 8.009 0 0 1-8 8m0-12a4 4 0 1 0 4 4a4.004 4.004 0 0 0-4-4m0 6a2 2 0 1 1 2-2a2.002 2.002 0 0 1-2 2'/%3E%3C/svg%3E");
}

.icon-chart::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 3h2v18H3zm4 10h2v8H7zm4-6h2v14h-2zm4 3h2v11h-2zm4-5h2v16h-2z'/%3E%3C/svg%3E");
}

.icon-graph::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 19h16v2H2V3h2zm4-4 3 3 5-6 4 4-1.4 1.4-2.6-2.6-5 6-3-3-3.6 3.6L6 21z'/%3E%3C/svg%3E");
}

.icon-star::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='m12 2 2.9 6.1L22 9l-5 4.9L18.2 21 12 17.7 5.8 21 7 13.9 2 9l7.1-.9z'/%3E%3C/svg%3E");
}

.icon-calendar::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 2h2v3H7zm8 0h2v3h-2zM4 5h16a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2m0 6v9h16v-9z'/%3E%3C/svg%3E");
}

.icon-check::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12 3.4 13.4 9 19l12-12-1.4-1.4z'/%3E%3C/svg%3E");
}

.login-panel {
    flex: 1 1 46%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.panel-content {
    width: 100%;
    max-width: 420px;
}

.login-panel h2 {
    margin: 0 0 8px;
    font-size: 24px;
    color: var(--login-blue);
}

.login-panel .subtitle {
    margin: 0 0 30px;
    color: var(--login-muted);
    font-size: 14px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--login-blue);
    font-weight: 600;
}

.input {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--login-border);
    padding: 0 16px;
    font-size: 14px;
    color: var(--login-text);
    background: #fff;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.input::placeholder {
    color: #9aa6bf;
}

.input:focus {
    border-color: var(--login-blue-light);
    box-shadow: 0 0 0 3px rgba(13, 63, 131, 0.15);
    outline: none;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin: 6px 0 24px;
}

.link {
    font-size: 13px;
    color: var(--login-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.link:hover {
    color: var(--login-green-dark);
}

.form-submit {
    margin-bottom: 20px;
}

.btn-primary {
    width: 100%;
    height: 52px !important;
    border: none !important;
    border-radius: 12px !important;
    background: var(--login-green) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(59, 141, 60, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
    background: var(--login-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(59, 141, 60, 0.35);
}

.support-note {
    font-size: 12px;
    color: #6c7893;
    text-align: center;
}

.support-note a {
    color: var(--login-green);
    text-decoration: none;
    font-weight: 600;
}

.support-note a:hover {
    color: var(--login-green-dark);
}

@media (max-width: 1024px) {
    .login-page {
        flex-direction: column;
    }

    .login-hero,
    .login-panel {
        flex: 1 1 auto;
    }

    .login-hero {
        padding: 48px 32px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .login-panel {
        padding: 40px 24px;
    }

    .logo-card {
        width: 140px;
        height: 70px;
    }

    .login-hero h1 {
        font-size: 28px;
    }
}
