/* =========================================
   1. 폰트 임포트 (귀여운 Jua 폰트 + 깔끔한 Noto Sans)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Jua&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* =========================================
   2. 전체 배경 & 기본 설정 (푸른 하늘 그라데이션)
   ========================================= */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR', sans-serif;
    /* 맑은 하늘색에서 연한 노란색으로 떨어지는 화사한 배경 */
    background:
        radial-gradient(circle at 18% 12%, rgba(185, 217, 76, 0.32), transparent 26%),
        linear-gradient(135deg, #e7f5f8 0%, #b9d8e4 48%, #0d6f91 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #173f56;
}

/* =========================================
   3. 메인 컨테이너 (PC에서 꽉 차보이고 입체적이게)
   ========================================= */
.container {
    background-color: rgba(249, 253, 252, 0.96); /* 반투명 유리 효과 */
    backdrop-filter: blur(10px);
    border-radius: 35px;
    /* PC의 허전함을 채워주는 이중 테두리와 깊은 그림자 */
    box-shadow: 0 24px 56px rgba(4, 64, 96, 0.18),
                0 0 0 12px rgba(255, 255, 255, 0.42);
    width: 100%;
    max-width: 700px; /* PC에서 폭을 넓게 잡아 꽉 차 보이게 함 */
    padding: 60px 50px;
    margin: 50px 20px;
    box-sizing: border-box;
}

/* 모바일 화면 맞춤 반응형 */
@media (max-width: 768px) {
    body {
        align-items: flex-start; /* 모바일은 화면 위쪽부터 시작 */
        background: #eef8f9; /* 모바일은 가벼운 단색 톤으로 정리 */
    }
    .container {
        margin: 20px 15px;
        padding: 40px 25px;
        border-radius: 25px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* 모바일용 가벼운 그림자 */
    }
}

/* =========================================
   4. 타이포그래피 & 로고
   ========================================= */
/* 제목 등에 둥글둥글한 Jua 폰트 적용 */
h1, h2, h3, .title-font {
    font-family: 'Jua', sans-serif;
    color: #0d5f9f; /* 이미지의 선박 블루 톤 */
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* 소제목 / 안내문구 */
.subtitle, p {
    text-align: center;
    color: #46606b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    word-break: keep-all;
}

/* 로고 영역 (이전 완벽 비율 유지) */
.logo-wrap {
    text-align: center;
    margin-bottom: 35px;
    width: 100%;
}
.logo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

/* =========================================
   5. 입력 폼 (크고 둥글고 명확하게)
   ========================================= */
.form-group {
    margin-bottom: 25px;
    text-align: left;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #173f56;
    font-size: 1.05rem;
}

/* 입력창 디자인 */
input[type="text"], 
input[type="tel"], 
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #d5e5ea;
    border-radius: 18px;
    font-size: 1.1rem;
    font-family: 'Noto Sans KR', sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #f7fbfb;
}

/* 입력창 클릭 시 효과 (하늘색 테두리) */
input[type="text"]:focus, 
input[type="tel"]:focus, 
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #0d8bb8;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 5px rgba(13, 139, 184, 0.15);
}

/* 개인정보 동의 영역 스타일 */
.agreement-box { margin-top: 30px; border: 1px solid #c9dee4; border-radius: 12px; background: #f3faf9; padding: 15px; }
.agreement-title { font-weight: bold; font-size: 0.95rem; margin-bottom: 10px; color: #0d5f9f; }
.agreement-content { height: 120px; overflow-y: auto; background: #fff; border: 1px solid #dce9ec; padding: 10px; font-size: 0.85rem; line-height: 1.6; color: #46606b; margin-bottom: 12px; border-radius: 8px; }
.agreement-check { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-weight: bold; color: #0d5f9f; cursor: pointer; }
.agreement-check input { width: 18px; height: 18px; cursor: pointer; }

/* =========================================
   6. 버튼 (통통 튀는 애니메이션 효과)
   ========================================= */
.btn {
    display: inline-block;
    width: 100%;
    padding: 20px 20px;
    font-size: 1.4rem;
    font-family: 'Jua', sans-serif; /* 버튼 글씨도 귀엽게 */
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    margin-top: 10px;
}

/* 메인 버튼 (코랄 오렌지 그라데이션) */
.btn-primary {
    background: linear-gradient(135deg, #b9d94c 0%, #d9eb63 100%);
    color: #073d63;
    box-shadow: 0 8px 20px rgba(107, 150, 23, 0.28);
}

/* 마우스 올렸을 때 위로 살짝 떠오르는 효과 */
.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(107, 150, 23, 0.42);
}
.btn-primary:active {
    transform: translateY(2px);
}

/* 서브 버튼 (하늘색) */
.btn-secondary {
    background: linear-gradient(135deg, #0d5f9f 0%, #0b91bd 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(13, 95, 159, 0.28);
}
.btn-secondary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(13, 95, 159, 0.38);
}

/* =========================================
   7. 유틸리티 & 완료 페이지 꾸밈
   ========================================= */
.text-center { text-align: center; }
.mt-3 { margin-top: 15px; }
.mb-3 { margin-bottom: 15px; }
.mt-4 { margin-top: 25px; }

/* 결과/강조 박스 (완료 페이지 등에서 사용) */
.result-box {
    background-color: #f1faf8;
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    margin: 25px 0;
    border: 3px dashed #83c3d8;
}

.highlight-text {
    font-size: 1.8rem;
    color: #0d5f9f;
    font-weight: 700;
    font-family: 'Jua', sans-serif;
}

/* 안내사항 박스 */
.info-box {
    background-color: #f7fbdc;
    border-left: 6px solid #b9d94c;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 1rem;
    color: #365563;
    text-align: left;
}

/* =========================================
   8. 관리자 리스트 테이블 (깨지지 않게)
   ========================================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
th, td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
th {
    background-color: #f8f9fa;
    font-weight: 700;
    color: #333;
}
tr:hover { background-color: #eef8f9; }
