/* 빛들 점자도서관 - 공통 스타일 */
:root {
    --bs-primary: #2c5282;
    --bs-primary-rgb: 44, 82, 130;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
    background-color: #f8f9fa;
    font-size: 14px;
}

.navbar {
    background-color: #2c5282 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.1rem;
}

.btn-primary, .bg-primary {
    background-color: #2c5282 !important;
    border-color: #2c5282 !important;
}

.btn-primary:hover {
    background-color: #1a365d !important;
    border-color: #1a365d !important;
}

.text-primary {
    color: #2c5282 !important;
}

.border-primary {
    border-color: #2c5282 !important;
}

.card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 8px;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s;
}

.card-header {
    border-bottom: 1px solid #e9ecef;
}

.table th {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
    font-size: 13px;
}

#sidebar {
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
}

#sidebar .nav-link {
    color: #495057;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 2px;
    font-size: 13px;
}

#sidebar .nav-link:hover,
#sidebar .nav-link.active {
    background-color: #e8edf3;
    color: #2c5282;
    font-weight: 600;
}

.page-header {
    border-bottom: 2px solid #2c5282;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    font-size: 13px;
    color: #495057;
}

.badge {
    font-weight: 500;
}

/* 검색 영역 */
.search-area {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

/* 페이지네이션 */
.pagination .page-link {
    color: #2c5282;
}

.pagination .page-item.active .page-link {
    background-color: #2c5282;
    border-color: #2c5282;
}

/* 모달 */
.modal-header {
    background-color: #2c5282;
    color: white;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

/* 스텝 표시 */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: #dee2e6;
    color: #6c757d;
}

.step.active .step-number {
    background-color: #2c5282;
    color: white;
}

.step.completed .step-number {
    background-color: #28a745;
    color: white;
}

.step-line {
    width: 60px;
    height: 2px;
    background-color: #dee2e6;
    margin: 0 10px;
    align-self: center;
}

.step-line.completed {
    background-color: #28a745;
}

/* 필터 영역 */
.filter-bar {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.stat-card {
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.section-card {
    border: 1px solid #dde6ee;
    border-radius: 12px;
    background-color: #fff;
}

.section-card .section-header {
    border-bottom: 1px solid #edf2f7;
    padding: 14px 18px;
}

.section-card .section-body {
    padding: 18px;
}

.mini-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    background-color: #eef4fb;
    color: #2c5282;
}

.dashboard-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.helper-text {
    font-size: 12px;
    color: #6c757d;
}

.info-strip {
    border: 1px solid #cfe2ff;
    background: #f4f8ff;
    border-radius: 10px;
    padding: 12px 14px;
}

@media (max-width: 991.98px) {
    .dashboard-split {
        grid-template-columns: 1fr;
    }
}
