/* 기본 설정 */
body {
    /*background-color: #e6e6e6;*/
    background-color: #f5f6fa;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
}

.page_separator_do_not_use {
    margin: 80px;
}

a {
    text-decoration: none;
    /* color: inherit !important; */
}

.this_nav {
    position: fixed;
    width: 100%;
    background: black;
    color: white;
    top: 0;
    min-height: 64px;
    z-index: 999;
}

.main_width {
    padding: 64px 8px !important;
    margin-left: 240px;
}

.this_nav a {
    color: white;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

/* 기본: 옆 화살표 */
.toggle-arrow {
    transition: transform 0.3s ease;
}

/* 열릴 때: 아래 화살표 (회전) */
.btn-toggle[aria-expanded="true"] .toggle-arrow {
    transform: rotate(90deg);
}

/* 카드 공통 */
.card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    /* min-width: fit-content; */
}

.card_info {
    margin-bottom: 20px;
}

.btn {
    min-width: 60px;
}

.btn-primary {
    --bs-btn-bg: #2d6ac4;
    --bs-btn-border-color: #2d6ac4;
}

.btn-danger {
    --bs-btn-bg: #c43b48;
    --bs-btn-border-color: #c43b48;
}


.btn_box {
    text-align: right;
    padding: 10px 0;
}

.card-header {
    background: white;
    font-weight: bold;
    font-size: 14px;
}

/* 로그인 카드 */
/* .login-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
} */

/* 폼 라벨 */
.form-label {
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    margin-bottom: 14px;
}

/* 사이드바 */
.sidebar {
    background-color: #060606;
    min-height: 100vh;
    color: white;
    padding: 20px;
    padding-top: 84px;
    position: fixed;
    width: 240px;
    z-index:998;

}

/* 사이드바 로고 */
.logo {
    width: 100%;
    max-width: 200px;
}

/* 사이드바 내 링크 */
.sidebar .nav-link {
    background-color: transparent;
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
}

.sidebar .nav-link:hover,
.sidebar .nav-link:active {
    background-color: #4b4b4b !important;
    color: white;
}

.nav-link.active {
    background-color: #4b4b4b !important;
    color: white;
}

.nav-link.my_tab.active {
    background-color: white !important;
    /* color: white; */
}



/* 유저 정보 */
.user-info {
    text-align: right;
    align-items: center;
}

/* 로그아웃 버튼 */
.btn-logout {
    background-color: #dc3545;
    color: white;
    font-weight: bold;
    width: 100%;
    /* margin: 20px 0; */
    padding: 10px 10px 6px;
    border: none;
    border-radius: 5px;
}

.btn-logout:hover {
    background-color: #c44569;
    color: white;
    text-decoration: none;
}

/* 페이지 */
.pagination {
    --bs-pagination-border-width: 0;
}

.active>.page-link,
.page-link.active {
    background: inherit;
    color: blue !important;
    font-weight: bold;
}

/* 테이블 설정 */
.table {
    min-width: 400px;
    width: 100%;
}

.date_column {
    width: 140px;
}

.func_column {
    width: 80px;
}

.num_column {
    text-align: right;
    width: 50px;
}

.table th {
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    text-transform: uppercase;
    /* text-align: center; */
}

/* .table tr {
    color: #677788;
} */

.table-hover>tbody>tr:hover>* {
    cursor: pointer;
    background-color: #edf3fb;
}

/* 테이블 묶음 */
.tables-row {
    display: flex;
    gap: 2rem;
}

.right-content {
    position: relative;
    padding: 20px;
}

/* Breadcrumb 영역 */
.breadcrumb-box {
    padding-left: 20px;
    /* background: #dadada; */
    /* margin: 20px 0; */
    /* border-radius: 4px; */
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    /* width: 50%; */
    align-content: center;
    min-height: 30px;


}

/* 오프캔버스 (모바일용 메뉴) */
.offcanvas-header {
    background-color: #000000;
    color: white;
}

.offcanvas-body {
    background-color: #000000;
    color: white;
    padding: 20px;
}

footer {
    text-align: center;
    /* position: absolute; */
    width: 100%;
    /* bottom: 20px; */
}

/* 반응형 대응 */
@media (max-width: 768px) {
    .tables-row {
        flex-direction: column;
    }

    .sidebar {
        padding: 1rem;
        min-height: auto;
    }

    .main-content {
        margin-top: 30px;
    }

    .sidebar .nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    .btn-logout {
        font-size: 1rem;
    }

    /* footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        text-align: center;
        padding: 20px;
    } */
}