/* gallery-view-dark.css */

.contents-wrap {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.contents-wrap iframe,
.contents-wrap img,
.contents-wrap video {
    max-width: 100%;

    display: block;
    margin: 0 auto 20px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(0,0,0,0.7);
}


.board-basic-view .view-contents,
.board-basic-view .attach-file,
.board-basic-view .link-wrap {
    background-color: #0c0c0c !important;
    color: #ddd;
    border: 1px solid #333;
    border-radius: 6px;
}

.board-basic-view .view-info{
    background-color: #000000 !important;
    color: #ddd;
    border-bottom: 1px solid #333;
}

.board-basic-view .list-group-item {
    background-color: #000000;
    color: #ccc;
    border-color: #3c3c3c;
    border-left-width: 1px !important;
}

.board-basic-view .list-group-item a {
    color: #ffc107;
    text-decoration: none;
}

.board-basic-view .list-group-item a:hover {
    text-decoration: underline;
}

.board-basic-view .btn-outline-primary {
    color: #70b7ff;
    border-color: #70b7ff;
}

.board-basic-view .btn-outline-primary:hover {
    background-color: #70b7ff;
    color: #000;
}

.board-basic-view .btn-outline-secondary {
    color: #ccc;
    border-color: #555;
}

.board-basic-view .btn-outline-secondary:hover {
    background-color: #555;
    color: #fff;
}

.good-nogood-wrap .btn {
    min-width: 100px;
    font-size: 1.1rem;
}


.view-title .title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.board-subject.title {

    font-size: 1rem !important;
}


.next-prev-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 20px;
    padding: 10px 0;
}

.next-prev-wrap .next-prev-item {
    flex: 1;
    background-color: #1e1e1e !important;
    border: 1px solid #444 !important;
    border-radius: 8px;
    padding: 15px !important;
    text-align: center;
    transition: background 0.3s;
}

.next-prev-wrap .next-prev-item a {
    color: #ccc !important;
    text-decoration: none;
    display: block;
}

.next-prev-wrap .next-prev-item a:hover {
    color: #fff !important;
    background-color: #2c2c2c;
    border-radius: 8px;
}

.next-prev-wrap .next-prev-item i {
    font-size: 18px;
    vertical-align: middle;
    margin-right: 5px;
}

.next-prev-wrap .text-truncate {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 5px;
    font-size: 14px;
    color: #aaa;
}
