
/* ========================================
   TOOBE 전체 관리대장
   로그인 화면 전용 스타일
   ======================================== */

.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
    background: #f4f6fa;
    color: #202b3c;
}

.login-page * {
    box-sizing: border-box;
}

.login-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* 왼쪽 소개 영역 */
.login-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 55px 8%;
    color: #ffffff;
    background: linear-gradient(145deg, #173b75 0%, #245da8 55%, #347bc5 100%);
    position: relative;
    overflow: hidden;
}

.login-intro::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -180px;
    bottom: -180px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.035),
        0 0 0 110px rgba(255, 255, 255, 0.025);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.brand-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ffffff;
    color: #245da8;
    font-size: 25px;
    font-weight: 800;
}

.brand strong {
    display: block;
    font-size: 22px;
    letter-spacing: 1.5px;
}

.brand span {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 1.5px;
    opacity: 0.75;
}

.intro-content {
    position: relative;
    z-index: 1;
    margin-top: -40px;
}

.intro-label {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.intro-content h1 {
    margin: 0;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -2px;
}

.intro-content p {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.9;
}

/* 오른쪽 로그인 영역 */
.login-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    background: #f7f9fc;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 48px 42px;
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(28, 52, 84, 0.07);
}

.login-heading {
    margin-bottom: 35px;
}

.login-heading h2 {
    margin: 0;
    color: #1d2b40;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

.login-heading p {
    margin: 12px 0 0;
    color: #8491a3;
    font-size: 14px;
}

/* 로그인 입력 폼 */
.login-card form {
    display: flex;
    flex-direction: column;
}

.login-card form label {
    margin: 0 0 9px;
    color: #35445a;
    font-size: 13px;
    font-weight: 700;
}

.login-card form input {
    width: 100%;
    height: 52px;
    margin-bottom: 23px;
    padding: 0 15px;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    color: #26364b;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-card form input::placeholder {
    color: #aab4c2;
}

.login-card form input:focus {
    border-color: #3478c5;
    box-shadow: 0 0 0 3px rgba(52, 120, 197, 0.1);
}

/* 로그인 버튼 */
.login-card form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 54px;
    margin-top: 5px;
    border: none;
    border-radius: 8px;
    background: #2867ad;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.login-card form button:hover {
    background: #1e5594;
}

.login-card form button:active {
    transform: scale(0.99);
}

.login-card form button span {
    font-size: 20px;
}

/* 오류 메시지 */
.error-message {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid #f3caca;
    border-radius: 7px;
    background: #fff4f4;
    color: #d34848;
    font-size: 13px;
}

/* 하단 안내 */
.login-notice {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
    color: #a1acba;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
}

.copyright {
    margin-top: 28px;
    color: #a1acba;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-align: center;
}

/* 태블릿 및 모바일 */
@media (max-width: 900px) {
    .login-layout {
        grid-template-columns: 1fr;
    }

    .login-intro {
        min-height: 300px;
        padding: 35px 8%;
    }

    .intro-content {
        margin-top: 45px;
    }

    .intro-content h1 {
        font-size: 38px;
    }

    .intro-content p {
        font-size: 14px;
    }

    .login-section {
        min-height: 550px;
        padding: 45px 20px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 35px 24px;
    }

    .login-heading h2 {
        font-size: 26px;
    }

    .login-intro {
        min-height: 260px;
    }
}
