/* ===================================
    Modern FAQ View Styles
    Version: 1.0
    Features: Clean Layout, Modern Design
====================================== */

/* Variables (inherited from faq-modern.css) */
:root {
    --view-max-width: 900px;
    --view-bg: #ffffff;
    --view-border-radius: 16px;
    --view-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Main Container */
#bo_v {
    max-width: var(--view-max-width);
    margin: 40px auto;
    padding: 0 20px;
}

/* Top Button Area */
#bo_v_top {
    margin-bottom: 30px;
}

.btn_bo_user.bo_v_com {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn_bo_user li {
    margin: 0;
}

.btn_bo_user .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-base);
}

.btn_bo_user .btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Article Header */
#bo_v header {
    background: var(--view-bg);
    border-radius: var(--view-border-radius);
    box-shadow: var(--view-shadow);
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

#bo_v header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

#bo_v_title {
    margin: 0;
    padding: 0;
    border: none;
}

.bo_v_cate {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.bo_v_tit {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Info Section */
#bo_v_info {
    background: var(--view-bg);
    border-radius: var(--view-border-radius);
    box-shadow: var(--view-shadow);
    padding: 24px 40px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile_info {
    display: flex;
    align-items: center;
}

.pf_img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Section */
#bo_v_atc {
    background: var(--view-bg);
    border-radius: var(--view-border-radius);
    box-shadow: var(--view-shadow);
    padding: 40px;
    margin-bottom: 30px;
}

#bo_v_atc_title {
    display: none;
}

#bo_v_con {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

#bo_v_con p {
    margin-bottom: 20px;
}

#bo_v_con img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

#bo_v_con h3,
#bo_v_con h4 {
    color: var(--text-primary);
    margin: 30px 0 15px;
    font-weight: 600;
}

#bo_v_con ul,
#bo_v_con ol {
    margin: 20px 0;
    padding-left: 30px;
}

#bo_v_con li {
    margin-bottom: 10px;
}

#bo_v_con blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

/* Good/Nogood Section */
#bo_v_act {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.gw_btn_good,
.gw_btn_bad {
    flex: 0 0 auto;
}

.gw_btn_good a,
.gw_btn_bad a,
.gw_btn_good .bo_v_good,
.gw_btn_bad .bo_v_nogood {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-base);
    cursor: pointer;
}

.gw_btn_good a,
.gw_btn_good .bo_v_good {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.gw_btn_bad a,
.gw_btn_bad .bo_v_nogood {
    background: linear-gradient(135deg, #fc8181, #f56565);
    color: white;
}

.gw_btn_good a:hover,
.gw_btn_bad a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

#bo_v_act strong {
    font-size: 16px;
    font-weight: 600;
}

/* Share Section */
#bo_v_share {
    background: var(--view-bg);
    border-radius: var(--view-border-radius);
    box-shadow: var(--view-shadow);
    padding: 24px 40px;
    margin-bottom: 30px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

#bo_v_share .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-base);
}

#bo_v_share .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* File Section */
#bo_v_file {
    background: var(--view-bg);
    border-radius: var(--view-border-radius);
    box-shadow: var(--view-shadow);
    padding: 30px 40px;
    margin-bottom: 30px;
}

#bo_v_file h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

#bo_v_file ul {
    list-style: none;
    padding: 0;
}

#bo_v_file li {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: var(--transition-base);
}

#bo_v_file li:hover {
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

#bo_v_file .view_file_download {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

#bo_v_file .bo_v_file_cnt {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Link Section */
#bo_v_link {
    background: var(--view-bg);
    border-radius: var(--view-border-radius);
    box-shadow: var(--view-shadow);
    padding: 30px 40px;
    margin-bottom: 30px;
}

#bo_v_link h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

#bo_v_link ul {
    list-style: none;
    padding: 0;
}

#bo_v_link li {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: var(--transition-base);
}

#bo_v_link li:hover {
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

#bo_v_link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

#bo_v_link .bo_v_link_cnt {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Navigation (Prev/Next) */
.bo_v_nb {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bo_v_nb a {
    display: block;
    padding: 24px;
    background: var(--view-bg);
    border-radius: var(--view-border-radius);
    box-shadow: var(--view-shadow);
    transition: var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.bo_v_nb a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.bo_v_nb a.no_link {
    opacity: 0.5;
    cursor: not-allowed;
}

.bo_v_nb a.no_link:hover {
    transform: none;
    box-shadow: var(--view-shadow);
}

.btn_prv .nb_tit,
.btn_next .nb_tit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.btn_next .nb_tit {
    justify-content: flex-end;
}

.bo_v_nb p {
    font-size: 15px;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn_next p {
    text-align: right;
}

.nb_date {
    font-size: 12px;
    color: var(--text-muted);
}

.btn_next .nb_date {
    display: block;
    text-align: right;
}

.nb_list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nb_list .btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.nb_list .btn::before {
    content: '\f0ca';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.nb_list .btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* More Options Menu */
.more_opt.is_view_btn {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--view-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
    z-index: 100;
}

.more_opt.is_view_btn li {
    margin: 0;
}

.more_opt.is_view_btn a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-secondary);
    transition: var(--transition-base);
    white-space: nowrap;
}

.more_opt.is_view_btn a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    #bo_v header,
    #bo_v_atc {
        padding: 30px 24px;
    }
    
    .bo_v_tit {
        font-size: 22px;
    }
    
    #bo_v_con {
        font-size: 15px;
    }
    
    .bo_v_nb {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .nb_list {
        order: -1;
        margin-bottom: 8px;
    }
    
    #bo_v_act {
        flex-direction: column;
        gap: 12px;
    }
    
    .gw_btn_good a,
    .gw_btn_bad a {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #bo_v {
        padding: 0 12px;
    }
    
    #bo_v header,
    #bo_v_atc,
    #bo_v_info,
    #bo_v_file,
    #bo_v_link {
        padding: 20px;
    }
    
    .bo_v_tit {
        font-size: 20px;
    }
    
    .btn_bo_user .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    #bo_v_share {
        flex-wrap: wrap;
        padding: 20px;
    }
}