/* 기본 스타일 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

/* 전체 레이아웃 */
.container {
    width: 100%;
    max-width: 1631px;
    height: 100%;
    overflow-y: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 왼쪽 로그인 박스 */
.login-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 50px;
}

.readnumber-login-logo {
    width: 104px;
    height: 29px;
    margin-bottom: 40px;
}

.welcome-text {
    color: #4D4D4D;
    font-family: Pretendard, sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: -0.96px;
    margin: 0 0 50px 0;
}

.login-form {
    box-sizing: border-box;
    width: 549px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 28px;
    border-radius: 8px;
    border: 1px solid #CCC;
    font-family: Pretendard, sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px; /* 147.368% */
    letter-spacing: -0.447px;
}

button {
    width: 100%;
    padding: 20px 28px;
    border-radius: 8px;
    background: #1344EC;
    color: #fff;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    font-family: Pretendard, sans-serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.447px;
}

button:hover {
    background-color: #0044cc;
}

/* 오른쪽 이미지 박스 */
.image-box {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding-right: 50px;
}

.image-box img {
    width: 100%;
    max-width: 932px;
    height: auto;
    border-radius: 10px;
}

/* 미디어 쿼리 - 모바일 대응 */
@media (max-width: 1280px) {
    .container {
        flex-direction: column;
        gap: 30px;
        overflow-y: scroll;
    }

    .readnumber-login-logo {
        margin-bottom: 10px;
    }

    .login-box {
        width: auto;
        padding: 0;
    }

    .image-box {
        width: 594px;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .login-box {
        width: 80%;
    }

    .login-form {
        width: 100%;
    }

    .image-box {
        width: 80%;
    }
}

.custom-alert {
    border: 2px solid #960018; /* 빨간색 테두리 */
    background-color: #ffb3b3; /* 연한 빨간색 배경 */
    color: #660000; /* 어두운 빨간색 텍스트 */
    font-weight: bold; /* 글씨 굵게 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 그림자 추가 */
    padding: 15px; /* 여백 추가 */
    border-radius: 5px; /* 둥근 모서리 */
}

/* OAuth 구분선 */
.oauth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    position: relative;
}

.oauth-divider::before,
.oauth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #CCC;
}

.oauth-divider span {
    padding: 0 16px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Microsoft 로그인 버튼 */
.microsoft-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px 28px;
    border-radius: 8px;
    border: 1px solid #CCC;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-family: Pretendard, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.447px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.microsoft-login-btn:hover {
    background-color: #f5f5f5;
    border-color: #999;
    text-decoration: none;
    color: #333;
}
