﻿* {
    box-sizing: border-box;
    font-family: 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: #1f2937;
}

body {
    min-height: 100vh;
}

a {
    text-decoration: none;
}

.login-page {
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrap {
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.login-left {
    background: linear-gradient(135deg, #111827, #0f172a);
    border-radius: 28px;
    padding: 42px;
    color: #fff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.brand-link {
    display: inline-block;
    margin-bottom: 20px;
}

.brand-logo {
    display: block;
    height: 72px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.brand-title {
    margin: 0 0 14px 0;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
}

.brand-desc {
    margin: 0 0 28px 0;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
}

.brand-info-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 22px;
    backdrop-filter: blur(2px);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .info-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.info-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.login-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    background: #ffffff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
    border: 1px solid #e5e7eb;
}

.login-card-header {
    margin-bottom: 24px;
}

    .login-card-header h2 {
        margin: 0 0 8px 0;
        font-size: 34px;
        color: #111827;
        font-weight: 900;
    }

    .login-card-header p {
        margin: 0;
        color: #6b7280;
        font-size: 15px;
    }

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 700;
        color: #374151;
    }

.form-input {
    width: 100%;
    height: 52px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

    .form-input:focus {
        border-color: #f97316;
        box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
    }

.login-options {
    margin-top: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.check-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-size: 14px;
}

.text-link {
    color: #ea580c;
    font-size: 14px;
    font-weight: 700;
}

    .text-link:hover {
        text-decoration: underline;
    }

.message-label {
    display: block;
    min-height: 20px;
    margin-bottom: 12px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 700;
}

.login-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(234, 88, 12, 0.24);
}

    .login-btn:hover {
        filter: brightness(1.02);
    }

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

    .divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        border-top: 1px solid #e5e7eb;
        transform: translateY(-50%);
    }

    .divider span {
        position: relative;
        background: #fff;
        padding: 0 12px;
        color: #9ca3af;
        font-size: 13px;
    }

.sub-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

    .sub-btn.light {
        background: #f3f4f6;
        color: #111827;
    }

.bottom-note {
    margin-top: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

    .bottom-note .strong {
        margin-left: 6px;
    }

@media screen and (max-width: 980px) {
    .login-wrap {
        grid-template-columns: 1fr;
    }

    .login-left {
        padding: 30px;
    }

    .login-card {
        padding: 28px;
    }
}

@media screen and (max-width: 768px) {
    .login-page {
        padding: 14px;
    }

    .login-left,
    .login-card {
        border-radius: 22px;
    }

    .login-left {
        padding: 24px;
    }

    .brand-logo {
        height: 56px;
        max-width: 180px;
    }

    .brand-title {
        font-size: 30px;
    }

    .brand-desc {
        font-size: 14px;
    }

    .login-card {
        padding: 22px;
    }

    .login-card-header h2 {
        font-size: 28px;
    }

    .sub-actions {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .login-page {
        padding: 10px;
    }

    .login-left,
    .login-card {
        padding: 18px;
        border-radius: 18px;
    }

    .brand-logo {
        height: 46px;
        max-width: 150px;
    }

    .brand-title {
        font-size: 26px;
    }

    .brand-info-card {
        padding: 16px;
    }

    .info-item {
        gap: 10px;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .login-card-header h2 {
        font-size: 24px;
    }

    .form-input,
    .login-btn,
    .sub-btn {
        height: 48px;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
