/* DB 관리 화면 전용 보정 스타일 */
.page-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 4px 10px;
}

.page-heading {
    margin: 0;
    color: #3977ac;
    font-size: 16px;
    font-weight: 700;
}

.page-heading-row .action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.page-heading-row .action-buttons .btn {
    min-height: 34px;
    border: 0;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
}

.filter-panel,
.table-panel {
    border: 1px solid #c9ced3;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.filter-panel {
    padding: 10px;
    margin-bottom: 10px;
}

.filter-top {
    margin-bottom: 6px;
}

.filter-panel .form-control,
.filter-panel .form-select {
    min-height: 35px;
    border-color: #cbd1d6;
    color: #607080;
    font-size: 12px;
}

.filter-panel .form-select {
    width: 132px;
}

.filter-panel .date-input {
    width: 200px;
}

.filter-panel .btn {
    min-height: 34px;
    border: 0;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
}

.filter-panel .btn i {
    color: #fff;
}

.btn-mms { background: #253e55; }
.btn-mms:hover { background: #1a3045; }
.btn-download, .btn-upload { background: #24bfc2; }
.btn-download:hover, .btn-upload:hover { background: #16a9ac; }
.btn-update { background: #efa943; }
.btn-update:hover { background: #dc9131; }
.btn-register { background: #4a8bc6; }
.btn-register:hover { background: #3677b0; }
.search-btn {
    min-height: 35px;
    background: #4c8dc6;
    color: #fff !important;
    font-weight: 700;
}
.search-btn:hover { background: #3677b0; }

.total-count {
    color: #4387c1;
    font-weight: 700;
    white-space: nowrap;
}

.action-status {
    margin-left: 8px;
    color: #4d6377;
}

.table-panel {
    overflow: hidden;
}

.table-scroll {
    overflow-x: auto;
}

.data-table {
    min-width: 1720px;
    margin: 0;
    color: #607b99;
    text-align: center;
    font-size: 12px;
}

.data-table .cell-link {
    color: #3576d3;
}

.data-table .cell-inquiry {
    max-width: 260px;
    white-space: normal;
    text-align: left;
}

.cell-row-actions {
    white-space: nowrap;
}

.cell-row-actions .btn {
    min-height: 26px;
    padding: 2px 10px;
    border: 0;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
}

.btn-row-edit { background: #efa943; }
.btn-row-edit:hover { background: #dc9131; }
.btn-row-delete { background: #d9534f; }
.btn-row-delete:hover { background: #c9302c; }

.data-table thead th {
    padding: 8px 10px;
    background: #304a61;
    border-color: #405b70;
    color: #fff;
    white-space: nowrap;
}

.data-table tbody td {
    height: 50px;
    padding: 8px 10px;
    border-color: #e2e6e9;
    white-space: nowrap;
}

.data-table tbody tr:nth-child(odd) { background: #f1f1f1; }
.data-table tbody tr:hover { background: #e4f0f7; }

.table-footer {
    min-height: 64px;
    align-items: center;
}

.pagination .page-link {
    min-width: 34px;
    border-color: #d3d7db;
    color: #405b70;
    text-align: center;
}

.pagination .active .page-link {
    background: #fff;
    border-color: #3489d0;
    color: #3489d0;
}

.pagination button.page-link {
    height: 31px;
}

@media (max-width: 900px) {
    .page-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-heading-row .action-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 1100px) {
    .content-area {
        padding-right: 8px;
        padding-left: 8px;
    }

    .filter-panel .form-select {
        width: 112px;
    }
}
