@charset "UTF-8";

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #eef1f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #333;
}

/* 로그인 영역 스타일
================================================== */
.login-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 380px;
    box-sizing: border-box;
}

.home-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 5px;
}

.login-title {
    font-size: 1.8em;
    margin-bottom: 0px;
    color: #2c3e50;
    font-weight: 700;
}

.login-subtitle {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    text-align: left;
}

.input-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
}

.input-field {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-field:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

.login-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #3498db;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.login-button:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 링크 영역 스타일
================================================== */
.link-area {
    margin-top: 20px;
    font-size: 0.9em;
}

.link-area a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.link-area a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 회원가입 페이지 스타일
================================================== */
.signup-container {
    max-width: 450px; 
}

/* 아이디 중복 확인 버튼을 포함하는 입력 그룹 */
.input-with-button {
    display: flex;
    gap: 8px; /* 입력창과 버튼 사이 간격 */
}

/* 중복 확인 버튼 스타일 */
.check-button {
    flex-shrink: 0; 
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    background-color: #95a5a6;
    color: #fff;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.check-button:hover {
    background-color: #7f8c8d;
}

/* 요구사항 및 실시간 유효성 검사 메시지 영역 스타일 */
.validation-message {
	color: #7f8c8d;
    display: block;
    font-size: 0.8em;
    margin-top: 5px;
    padding-left: 2px;
    min-height: 15px; /* 메시지가 없을 때 공간이 완전히 사라지는 것을 방지 */
}

/* 반응형 디자인
================================================== */
@media (max-width: 450px) {
    .login-container {
        padding: 30px 20px;
        margin: 10px;
    }
    .login-title {
        font-size: 1.5em;
    }
    .input-with-button {
        flex-direction: column;
    }
    .check-button {
        width: 100%;
        margin-top: 5px;
    }
}