@charset "utf-8";

/* 
 * ZZAN Studio Official Contact Board v1.0.4 - Final Polishing
 * ---------------------------------------------------------
 * [수정 내역]
 * 1. 작성폼 하단 버튼과 홈 링크 겹침 해결 (Flex-column 적용)
 * 2. 성공 페이지 버튼 간격 및 정렬 보정
 * 3. 목록(List) 테이블 디자인 완성도 상향
 * 4. 상세페이지(Read) 버튼 가시성 확보
 * ---------------------------------------------------------
 */

:root {
    --zzan-neon: #E6FF00;
    --zzan-bg: #131314;
    --zzan-border: rgba(255, 255, 255, 0.1);
    --zzan-input-bg: #1e1e1f;
}

/* [1] 전역 컨테이너 & 헤더 */
.zzan-board-v1 { max-width: 1400px !important; margin: 0 auto; padding-bottom: 100px; color: #fff; font-family: 'Pretendard', sans-serif; }
.zzan-board-header { padding: 60px 0 20px !important; border-bottom: 1px solid var(--zzan-border); margin-bottom: 50px !important; }
.zzan-board-header h2 { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 42px; text-transform: uppercase; letter-spacing: -0.03em; margin: 0; }
.zzan-board-header h2 a { color: var(--zzan-neon) !important; text-decoration: none !important; transition: 0.3s; }
.zzan-board-header h2 a:hover { color: #fff !important; text-shadow: 0 0 15px var(--zzan-neon); }

/* [2] 관리자 네비게이션 (접수 목록 조회 등) */
.zzan-admin-nav { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 30px; }
.btn-admin-item { 
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 11px; padding: 10px 18px; 
    border: 1px solid rgba(255,255,255,0.2); color: #888 !important; border-radius: 4px; text-transform: uppercase; text-decoration: none !important;
}
.btn-admin-item:hover { border-color: var(--zzan-neon); color: var(--zzan-neon) !important; background: rgba(230,255,0,0.05); }

/* [3] 스플릿 레이아웃 (좌측 브랜드 영역) */
.zzan-contact-split-wrap { display: flex; gap: 80px; align-items: flex-start; margin-top: 20px; }
.contact-side-info { flex: 0 0 400px; position: sticky; top: 120px; text-align: left; }
.side-tag { display: inline-block; color: var(--zzan-neon); font-family: 'Montserrat'; font-weight: 900; font-size: 13px; letter-spacing: 4px; margin-bottom: 25px; }
.side-title { font-size: 56px; font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: 40px; word-break: keep-all; }
.side-desc { font-size: 17px; color: #888; line-height: 1.7; margin-bottom: 60px; }

/* [4] 우측 폼 영역 & 입력창 */
.contact-form-area { flex: 1; background: #1a1a1b; padding: 60px; border-radius: 40px; border: 1px solid var(--zzan-border); }
.zzan-form-group { margin-bottom: 35px; text-align: left; }
.form-label { display: block; font-family: 'Montserrat'; font-weight: 900; font-size: 14px; color: var(--zzan-neon); margin-bottom: 12px; text-transform: uppercase; }

.form-input-wrap input[type="text"],
.form-input-wrap input[type="tel"],
.form-input-wrap input[type="email"],
.form-input-wrap textarea,
.form-input-wrap select {
    width: 100% !important; background: var(--zzan-input-bg) !important; border: 1px solid var(--zzan-border) !important;
    color: #fff !important; padding: 18px !important; border-radius: 12px !important; font-size: 15px !important; transition: 0.3s;
}
.form-input-wrap input:focus, .form-input-wrap textarea:focus { border-color: var(--zzan-neon) !important; box-shadow: 0 0 20px rgba(230,255,0,0.1); outline: none; }
::placeholder { color: #fff !important; opacity: 0.3; }

/* [5] 푸터 영역 (버튼 겹침 현상 해결 핵심) */
.zzan-contact-footer {
    display: flex;
    flex-direction: column; /* 세로로 나열 */
    align-items: center;    /* 중앙 정렬 */
    gap: 25px;              /* 버튼과 링크 사이 간격 확보 */
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Fancy Button 리마스터 */
.zzan-fancy-btn {
    position: relative; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 70px; 
    background: var(--zzan-neon) !important; 
    color: #000 !important; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 900; 
    font-size: 18px; 
    border-radius: 100px;
    border: none; 
    cursor: pointer; 
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden; 
    box-shadow: 0 15px 30px rgba(230, 255, 0, 0.2);
    text-decoration: none !important;
}
.zzan-fancy-btn:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 20px 40px rgba(230, 255, 0, 0.4); }

.btn-home-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 12px;
    color: #555 !important;
    letter-spacing: 2px;
    text-decoration: none !important;
    transition: 0.3s;
}
.btn-home-text:hover { color: #fff !important; }

/* [6] 목록(List) 페이지 디자인 마감 */
.zzan-admin-list { padding-top: 20px; }
.zzan-list-table { width: 100%; border-collapse: collapse; border-top: 1px solid #fff; margin-bottom: 30px; }
.zzan-list-table th { 
    text-align: left; padding: 20px; border-bottom: 2px solid #333; 
    font-family: 'Montserrat'; font-size: 12px; color: #666; text-transform: uppercase; 
}
.zzan-list-table td { padding: 20px; border-bottom: 1px solid #222; font-size: 15px; color: #ccc; vertical-align: middle; }
.zzan-list-table tr:hover { background: rgba(255,255,255,0.03); }
.zzan-list-table .title a { color: #fff !important; text-decoration: none !important; font-weight: 500; transition: 0.2s; }
.zzan-list-table .title a:hover { color: var(--zzan-neon) !important; }

/* [7] 성공 페이지 (Success) 보정 */
.zzan-success-remaster { padding: 120px 20px; text-align: center; }
.check-circle { 
    width: 100px; height: 100px; border: 3px solid var(--zzan-neon); border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; margin: 0 auto 40px; color: var(--zzan-neon); 
}
.check-circle svg { width: 50px; }
.success-title { font-size: 42px; font-weight: 900; margin-bottom: 25px; color: #fff; }
.success-desc { font-size: 18px; color: #888; line-height: 1.8; margin-bottom: 60px; }

/* 성공 페이지 하단 액션 버튼 그룹 */
.success-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* [8] 상세페이지(Read) 디자인 마감 */
.zzan-read-container { max-width: 900px; margin: 0 auto; padding-top: 40px; text-align: left; }
.zzan-read-header h1 { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 20px; }
.read-meta { font-family: 'Montserrat'; font-size: 12px; color: #555; border-bottom: 1px solid #333; padding-bottom: 20px; margin-bottom: 40px; }

.zzan-read-footer { 
    margin-top: 60px; padding-top: 40px; border-top: 1px solid #333; 
    display: flex; justify-content: center; gap: 15px; 
}
.zzan-btn-primary { 
    background: var(--zzan-neon) !important; color: #000 !important; 
    padding: 18px 45px; border-radius: 8px; font-weight: 900; font-family: 'Montserrat';
    text-decoration: none !important; transition: 0.3s;
}
.zzan-btn-cancel { 
    background: transparent !important; color: #ff4d4d !important; border: 1px solid #ff4d4d !important;
    padding: 18px 45px; border-radius: 8px; font-weight: 800; font-family: 'Montserrat';
    text-decoration: none !important; transition: 0.3s;
}
.zzan-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(230,255,0,0.2); }
.zzan-btn-cancel:hover { background: #ff4d4d !important; color: #fff !important; }

/* [9] 모바일 대응 최종 보정 */
@media screen and (max-width: 1024px) {
    .zzan-contact-split-wrap { flex-direction: column; gap: 60px; }
    .contact-side-info { flex: none; width: 100%; position: static; text-align: center; }
    .side-title { font-size: 42px; }
    .contact-form-area { padding: 40px 20px; border-radius: 25px; width: 100%; }
    .zzan-fancy-btn { width: 100%; padding: 20px; }
}