@charset "utf-8";

/* 성경 1000독 대행진 전용 핑크 테마 */
:root {
    --primary-color: #c18590;
    --primary-hover: #a66e79;
    --bg-light: #fefafb;
    --border-color: #f2e4e6;
    --text-dark: #4a3e3f;
}

/* 기본 레이아웃 */
#bo_list, #bo_w, #bo_v { margin: 20px auto; padding: 10px; font-family: 'Malgun Gothic', sans-serif; box-sizing: border-box; line-height: 1.6; max-width:1200px; }
.bible_header { text-align: center; margin-bottom: 40px; padding: 20px 0; }
.bible_header h1 { color: var(--primary-color); font-size: 2.2rem; font-weight: bold; margin-bottom: 10px; }

/* [리스트] 카드형 디자인 */
.bible_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.bible_card { background: #fff; border: 1px solid var(--border-color); border-radius: 15px; padding: 25px; box-shadow: 0 4px 10px rgba(193,133,144,0.08); transition: 0.3s; position: relative; }
.bible_card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(193,133,144,0.15); border-color: var(--primary-color); }
.card_top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.count_badge { background: var(--primary-color); color: #fff; padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; }
.read_date { color: #aaa; font-size: 0.85rem; }
.user_name { font-size: 1.4rem; font-weight: bold; color: var(--text-dark); margin: 10px 0; }
.user_name a { text-decoration: none; color: inherit; transition: 0.2s; }
.user_name a:hover { color: var(--primary-color); text-decoration: underline; }

/* [작성] 입력창 디자인 */
.bible_write_box { background: var(--bg-light); padding: 30px; border-radius: 15px; border: 1px solid var(--border-color); }
.write_row { margin-bottom: 20px; }
.write_flex { display: flex; gap: 15px; }
.flex_1 { flex: 1; }
.lb_tit { display: block; margin-bottom: 8px; font-weight: bold; color: var(--text-dark); }
.frm_input { border: 1px solid #ddd !important; border-radius: 8px !important; padding: 12px !important; width: 100% !important; box-sizing: border-box !important; }

/* [보기] 인증서 디자인 */
.bible_view_cert { background: #fff; border: 2px solid #f2e4e6; padding: 60px 20px; text-align: center; border-radius: 20px; box-shadow: 0 10px 30px rgba(193, 133, 144, 0.1); margin-bottom: 30px; position: relative; }
.cert_badge { display: inline-block; background: var(--primary-color); color: #fff; padding: 5px 25px; border-radius: 50px; font-weight: bold; font-size: 1.1rem; margin-bottom: 20px; }
.cert_title { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 30px; font-weight: bold; }
.cert_user { font-size: 2rem; font-weight: bold; color: #333; margin-bottom: 20px; border-bottom: 2px solid #eee; display: inline-block; padding: 0 40px 10px; }
.cert_text { line-height: 1.8; color: #666; font-size: 1.1rem; margin: 30px 0; }
.cert_date { font-size: 1.2rem; color: #888; letter-spacing: 2px; }

/* ★ 버튼 디자인 (View 스킨용 핵심 스타일) ★ */
.btn_group { text-align: center; margin-top: 40px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; clear: both; }
.v_btn { 
    display: inline-block !important; 
    padding: 0 30px !important; 
    border-radius: 8px !important; 
    font-weight: bold !important; 
    height: 50px !important; 
    line-height: 50px !important; 
    text-decoration: none !important; 
    font-size: 1rem !important; 
    transition: 0.3s !important; 
    border: none !important; 
    cursor: pointer !important; 
}
.btn_pink { background: var(--primary-color) !important; color: #fff !important; }
.btn_pink:hover { background: var(--primary-hover) !important; }
.btn_gray { background: #eee !important; color: #666 !important; }
.btn_gray:hover { background: #e2e2e2 !important; }

@media (max-width: 480px) {
    .write_flex { flex-direction: column; }
    .cert_title { font-size: 1.8rem; }
    .v_btn { padding: 0 15px !important; font-size: 0.9rem !important; }
}