/* css/pages/register.css */

.register-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f4f4f9, #e6e9f0);
}

.register-box {
    max-width: 550px;
    margin: auto;
    background: #fff;
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.register-box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

.register-form .form-group {
    margin-bottom: 20px;
}

.register-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.register-form input[type="email"],
.register-form input[type="password"],
.register-form input[type="text"] {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

.register-form input[type="email"]:focus,
.register-form input[type="password"]:focus,
.register-form input[type="text"]:focus {
    outline: none;
    border-color: #34495e;
    box-shadow: 0 0 5px rgba(52, 73, 94, 0.2);
}

.agreement-section {
    margin: 25px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #eee;
}

.agreement-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.agreement-item:last-child {
    margin-bottom: 0;
}

.agreement-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.agreement-item a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.agreement-item a:hover {
    text-decoration: underline;
}

.btn-register {
    width: 100%;
    padding: 15px;
    background-color: #34495e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-register:hover {
    background-color: #2c3e50;
}

.social-login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #aaa;
}

.social-login-divider span {
    padding: 0 15px;
}

.social-login-divider::before,
.social-login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-login-buttons a img {
    width: 100%;
    max-width: 220px;
    display: block;
    margin: auto;
}

.social-login-buttons .social-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.social-login-buttons .naver {
    background-color: #03C75A;
    color: white;
}

/* css/pages/register.css 파일 맨 아래에 추가 */

/* --- 모달(팝업) 스타일 --- */
.modal {
    display: none; /* 평소에는 숨김 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    height: 80%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.modal-header h2 {
    margin: 0;
    font-size: 22px;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-body {
    flex: 1;
    overflow-y: auto; /* 내용이 길면 스크롤 */
    padding-top: 15px;
}

.modal-body iframe {
    width: 100%;
    height: 98%;
    border: none;
}