/* 1. 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nanum Gothic', sans-serif;
}

body {
    background-color: #f9f9f9;
}

/* 2. 헤더 영역 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #4a5d23;
    text-decoration: none;
}

.auth-buttons {
    display: flex;
    gap: 5px;
}

.auth-buttons .btn {
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 14px;
}

.btn-signup {
    background-color: #c4c4c4;
    color: #333;
}

.btn-login {
    background-color: #8da166;
    color: white;
}

.btn-signup:hover { background-color: #b0b0b0; }
.btn-login:hover { background-color: #7a8f55; }

/* 3. 메인 컨텐츠 (카드) */
.container {
    text-align: center;
    max-width: 1000px;
    margin: 50px auto;
}

.main-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 50px;
}

.card-section {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.card-link {
    text-decoration: none;
    color: #000;
    transition: transform 0.2s;
}

.card-link:hover { transform: translateY(-5px); }

.card {
    background-color: #cde6a5;
    width: 250px;
    height: 350px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card p {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

.icon img {
    width: 80px;
    height: auto;
    opacity: 0.7;
}

/* 4. 회원가입/로그인 페이지 공통 (중앙 박스 디자인) */
.reg-page-body { background-color: #ffffff; }
.reg-main { display: flex; justify-content: center; padding: 50px 0; }
.green-border-box { background-color: #addb7d; padding: 30px; width: 480px; border-radius: 5px; }
.white-content-box { background-color: white; padding: 40px 35px; text-align: center; }
.form-logo-text { color: #4a5d23; font-size: 24px; font-weight: bold; margin-bottom: 5px; }
.form-subtitle { font-size: 18px; margin-bottom: 30px; color: #333; }
.actual-form { text-align: left; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: bold; margin-bottom: 8px; }
.field input { width: 100%; padding: 12px; background-color: #eeeeee; border: none; outline: none; }
.form-footer { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.square-ok-btn { background-color: #cde6a5; color: #4a5d23; border: none; padding: 12px 50px; font-size: 16px; font-weight: bold; cursor: pointer; border-radius: 5px; }
.square-ok-btn:hover { background-color: #b9d986; }