html, body {
    width: 100%;
    height: 100%;
}

body.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
    background: #eef3f8 url('../images/login_bg.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

body.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.40);
    pointer-events: none;
}

.modern-login-form {
    margin: 0;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 80px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.login-card {
    width: 430px;
    max-width: calc(100vw - 40px);
    padding: 38px 38px 30px;
    border-radius: 22px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 24px 60px rgba(65, 88, 115, 0.18);
    border: 1px solid rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-sizing: border-box;
}

.brand-area {
    margin-bottom: 26px;
    text-align: left;
}

.company-logo {
    /*max-width: 100%;
    width: 330px;
    height: auto;
    display: block;*/
	 width: 103%;       /* 🔥 더 크게 */
    max-width: none;   /* 🔥 제한 제거 */
    height: auto;
    display: block;
}

.login-title-area {
    margin-bottom: 24px;
}

.login-title-area h1 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.login-title-area p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

.login-field {
    margin-bottom: 16px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #374151;
    font-weight: 700;
}

.login-field input {
    width: 100%;
    height: 48px;
    border: 1px solid #d8e0ea;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    color: #1f2937;
    background: rgba(248, 250, 252, 0.95);
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.login-field input::placeholder {
    color: #9aa4b2;
}

.login-field input:focus {
    border-color: #5b93f5;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(91, 147, 245, 0.14);
}

.login-error-msg {
    min-height: 18px;
    color: #d93025;
    font-size: 12px;
    line-height: 1.5;
    padding: 2px 2px 0;
    display: none;
    margin: 2px 0 8px;
}

.login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

.login-submit-btn,
input.login-submit-btn.button {
    min-width: 116px;
    height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #5a9af7 0%, #367ae8 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(54, 122, 232, 0.25);
}

.login-submit-btn:hover,
input.login-submit-btn.button:hover {
    filter: brightness(1.03);
}

.password-link {
    color: #3b82f6;
    font-size: 13px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.password-link:hover {
    text-decoration: underline;
}

.company-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    text-align: center;
    color: rgba(55, 65, 81, 0.70);
    font-size: 12px;
    letter-spacing: 0.2px;
    z-index: 1;
}

@media (max-width: 560px) {
    .login-card {
        width: 100%;
        padding: 28px 22px 24px;
        border-radius: 18px;
    }

    .company-logo {
        width: 280px;
    }

    .login-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .login-submit-btn,
    input.login-submit-btn.button {
        width: 100%;
    }

    .password-link {
        text-align: right;
    }
}
