@font-face {
    font-family: 'Pretendard Variable';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/PretendardVariable.woff2') format('woff2-variations');
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, 'Malgun Gothic', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.kt-login-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 2rem;
    z-index: 9999;
}

.kt-login-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2.8rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.kt-login-logo {
    text-align: center;
    margin-bottom: 1.8rem;
}

.kt-login-logo img {
    height: 56px;
    width: auto;
    margin-bottom: .75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.kt-login-logo h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1E293B;
    margin: 0;
}

.kt-login-logo p {
    font-size: .78rem;
    color: #64748B;
    margin: .2rem 0 0;
}

.kt-form-label {
    font-size: .82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .35rem;
}

.kt-form-input {
    width: 100%;
    padding: .65rem 1rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    font-size: .9rem;
    color: #1E293B;
    font-family: inherit;
    transition: border-color .2s;
    outline: none;
    box-sizing: border-box;
}

.kt-form-input:focus {
    border-color: #4361EE;
}

.kt-form-input::placeholder {
    color: #94A3B8;
}

.kt-btn-login {
    width: 100%;
    padding: .72rem;
    background: #4361EE;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s;
    margin-top: .25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.kt-btn-login:hover {
    background: #3451d1;
}

.kt-btn-login svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.kt-role-toggle {
    display: flex;
    gap: 0;
    padding: 4px;
    background: #F1F5F9;
    border-radius: 10px;
}

.kt-role-option {
    flex: 1;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.kt-role-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kt-role-option span {
    display: block;
    text-align: center;
    padding: .55rem 0;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    color: #64748B;
    transition: background .2s, color .2s, box-shadow .2s;
}

.kt-role-option input:checked + span {
    background: #fff;
    color: #4361EE;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .12);
}

.kt-role-option input:focus-visible + span {
    outline: 2px solid #4361EE;
    outline-offset: 2px;
}

.kt-alert-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    border-radius: 8px;
    padding: .65rem 1rem;
    font-size: .83rem;
    margin-bottom: 1.2rem;
}

.kt-login-hint {
    background: #EFF6FF;
    border-radius: 8px;
    padding: .6rem 1rem;
    font-size: .75rem;
    color: #1D4ED8;
    margin-top: 1.2rem;
    text-align: center;
}

.field {
    margin-bottom: 1rem;
}

.field-pw {
    margin-bottom: 1.4rem;
}
