@charset "utf-8";
@import url("/theme/design/css/board-common.css");
@import url("/theme/design/css/comment-common.css");

.vst-view-wrap,
.vst-write-wrap {
    max-width: 100%;
    margin: 150px auto 0;
    padding: 40px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    color: #333;
    font-family: "Pretendard Variable", "Pretendard", "Malgun Gothic", sans-serif;
}

.vst-view-head {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.vst-view-cate {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: #f0f4ff;
    border-radius: 4px;
    color: #3235cd;
    font-size: 13px;
    font-weight: 700;
}

.vst-view-title,
.vst-write-title {
    margin: 0;
    color: #1a1a1a;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-all;
}

.vst-view-info {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #666;
    font-size: 13px;
}

.vst-info-left,
.vst-info-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vst-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vst-info-item i {
    color: #999;
}

.vst-file-box {
    margin-bottom: 20px;
    padding: 0 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

.vst-file-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vst-file-box li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

.vst-file-box li:last-child {
    border-bottom: none;
}

.vst-file-box a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.vst-file-box a:hover {
    color: #3235cd;
    text-decoration: underline;
}

.vst-file-info {
    margin-left: auto;
    padding: 2px 8px;
    background: #f1f1f1;
    border-radius: 4px;
    color: #888;
    font-size: 12px;
}

.vst-view-content {
    min-height: 200px;
    margin-bottom: 40px;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    word-break: break-all;
}

.vst-view-content img,
.vst-view-images img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    display: block;
    border-radius: 8px;
}

.vst-view-content a,
.vst-view-images a {
    display: inline-block;
    max-width: 100%;
}

.vst-action-box {
    margin: 60px 0 40px;
    text-align: center;
}

.vst-btn-action {
    width: 80px;
    height: 80px;
    margin: 0 8px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: #555;
    text-decoration: none;
    transition: 0.2s;
}

.vst-btn-action i {
    margin-bottom: 5px;
    color: #ccc;
    font-size: 24px;
    transition: 0.2s;
}

.vst-btn-action strong {
    font-size: 14px;
    font-weight: 700;
}

.vst-btn-good:hover,
.vst-btn-good.active {
    background: #f0f4ff;
    border-color: #3235cd;
    color: #3235cd;
}

.vst-btn-good:hover i,
.vst-btn-good.active i {
    color: #3235cd;
}

.vst-btn-nogood:hover,
.vst-btn-nogood.active {
    background: #fff5f5;
    border-color: #fa5252;
    color: #fa5252;
}

.vst-btn-nogood:hover i,
.vst-btn-nogood.active i {
    color: #fa5252;
}

.vst-view-btn {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.vst-btn-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vst-view-wrap .vst-btn,
.vst-write-wrap .vst-btn {
    padding: 10px 18px;
}

.vst-view-wrap .vst-btn-primary,
.vst-write-wrap .vst-btn-submit {
    background: #3235cd;
    border-color: #3235cd;
    color: #fff !important;
}

.vst-view-wrap .vst-btn-primary:hover,
.vst-write-wrap .vst-btn-submit:hover {
    background: #2629a8;
    color: #fff !important;
}

.vst-view-wrap .vst-btn-danger {
    border-color: #ffa8a8;
    color: #e03131;
}

.vst-view-wrap .vst-btn-danger:hover {
    background: #fff5f5;
    border-color: #e03131;
}

.vst-write-head {
    margin-bottom: 40px;
    text-align: center;
}

.vst-form-group {
    margin-bottom: 25px;
}

.vst-label {
    margin-bottom: 8px;
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.vst-label i {
    margin-right: 4px;
    color: #3235cd;
    font-size: 6px;
    vertical-align: middle;
}

.vst-input,
.vst-select,
.vst-textarea {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: 0.2s;
}

.vst-input:focus,
.vst-select:focus,
.vst-textarea:focus {
    border-color: #3235cd;
    box-shadow: 0 0 0 3px rgba(50, 53, 205, 0.1);
}

.vst-textarea {
    height: 300px;
    padding: 15px;
    line-height: 1.6;
    resize: vertical;
}

.vst-file-wrap,
.vst-option-box {
    margin-bottom: 10px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
}

.vst-file-row,
.vst-option-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.vst-file-input {
    flex: 1;
}

.vst-file-check,
.vst-chk-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
}

.vst-chk-label {
    cursor: pointer;
    font-size: 14px;
}

.vst-chk-label input {
    width: 18px;
    height: 18px;
    accent-color: #3235cd;
}

.vst-guide-text {
    margin-top: 5px;
    display: block;
    color: #888;
    font-size: 12px;
}

.vst-btn-area {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}

input.vst-btn {
    cursor: pointer;
}

.vst-search .vst-btn-sch {
    width: auto;
    min-width: 54px;
    padding: 0 12px;
}

.vst-btn-submit,
.vst-btn-cancel {
    min-width: 120px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.vst-btn-submit {
    border: none;
}

.vst-btn-cancel {
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
}

.vst-btn-cancel:hover {
    background: #f8f9fa;
    border-color: #ccc;
    color: #333;
}

#bo_v_share {
    margin-bottom: 20px;
    text-align: right;
}

#bo_vc_empty {
    width: 100%;
    margin: 0;
    padding: 20px 0;
    color: #888;
    text-align: center;
}

@media (max-width: 768px) {
    .vst-view-wrap,
    .vst-write-wrap {
        margin-top: 120px;
        padding: 20px;
    }

    .vst-view-title,
    .vst-write-title {
        font-size: 22px;
    }

    .vst-view-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vst-info-right {
        width: 100%;
        justify-content: flex-start;
        padding-top: 10px;
        border-top: 1px dashed #eee;
    }

    .vst-view-btn {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .vst-btn-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .vst-view-wrap .vst-btn {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .vst-input,
    .vst-select {
        height: 45px;
        font-size: 14px;
    }

    .vst-btn-area {
        flex-direction: column;
    }

    .vst-btn-submit,
    .vst-btn-cancel {
        width: 100%;
    }
}
