@charset "utf-8";

/* 전체 배경 설정: 모달이 돋보이도록 약간 어두운 톤이나 부드러운 배경색 사용 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

/* 화면 정중앙 배치를 위한 Flex 컨테이너 */
body {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 모달 박스 스타일 */
.join-modal-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 480px; /* 모달 너비 제한 */
    padding: 40px;
    border-radius: 16px; /* 둥근 모서리 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* 떠 있는 느낌을 주는 그림자 */
    box-sizing: border-box;
    animation: fadeInModal 0.4s ease-out; /* 등장 애니메이션 */
}

@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 타이틀 영역 */
.join-header {
    text-align: center;
    margin-bottom: 30px;
}

.join-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

/* 입력 필드 스타일 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* 버튼 스타일 */
.btn-join {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

.btn-join:hover {
    background-color: #0056b3;
}