/* ====================
   CBO MANAGEMENT STYLES
   ==================== */

/* Card Styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #4361ee 0%, #1962d8 100%) !important;
}

.card-body {
    padding: 1.5rem;
}

/* Form Section Styling */
.form-section {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #4361ee;
}

.form-section h5 {
    color: #2b2d42;
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.form-section h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #4361ee;
    border-radius: 3px;
}

/* Typography */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #2b2d42;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

.card-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.form-label {
    font-weight: 500;
    color: #4a4a6a;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Status Badges */
.status-badge {
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge-active {
    background-color: #28a745;
}

.badge-inactive {
    background-color: #6c757d;
}

/* Table Styling */
.table {
    --bs-table-striped-bg: rgba(67, 97, 238, 0.03);
}

.table th {
    font-weight: 600;
    color: #2b2d42;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.table td {
    vertical-align: middle;
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card {
        border-radius: 8px;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .form-section {
        padding: 1.25rem;
    }
}