/* PCFMS Concept Note Custom Styles */

/* General Styles */
.content-wrapper {
    background-color: #f4f6f9;
}

/* Form Styles */
.form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.3rem;
}

.form-group label.required::after {
    content: " *";
    color: #dc3545;
}

/* Card Enhancements */
.card-outline {
    border-top-width: 3px;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
}

/* Small Box Enhancements */
.small-box {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.small-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.small-box .inner h3 {
    font-size: 2.2rem;
    font-weight: 700;
}

.small-box .inner p {
    font-size: 1rem;
}

.small-box .icon {
    font-size: 4rem;
    opacity: 0.3;
}

.small-box-footer {
    background: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Info Box Styles */
.info-box {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-box .info-box-icon {
    font-size: 2rem;
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
}

/* Radzen DataGrid Customization */
.rz-datatable {
    font-size: 0.875rem;
}

.rz-datatable-striped .rz-datatable-tbody > tr:nth-child(odd) > td {
    background-color: #f8f9fa;
}

.rz-datatable th {
    background-color: #e9ecef;
    font-weight: 600;
}

/* Navigation Enhancement */
.nav-sidebar .nav-link {
    border-radius: 4px;
    margin: 2px 8px;
}

.nav-sidebar .nav-link.active {
    background-color: #007bff !important;
    color: #fff !important;
}

.nav-sidebar .nav-icon {
    margin-right: 10px;
}

/* Sidebar Brand */
.brand-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-text {
    font-weight: 600;
}

/* User Panel */
.user-panel .info a {
    font-size: 0.875rem;
}

/* Table Styles */
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table-bordered th,
.table-bordered td {
    border-color: #dee2e6;
}

/* Button Group Styles */
.btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Callout Styles */
.callout {
    border-radius: 4px;
}

.callout h5 {
    font-weight: 600;
}

/* Spinner Enhancement */
.spinner-border {
    color: #007bff;
}

/* Text Colors */
.text-primary {
    color: #007bff !important;
}

/* Background Colors */
.bg-purple {
    background-color: #6f42c1 !important;
}

.bg-orange {
    background-color: #fd7e14 !important;
}

/* Form Controls */
.rz-textbox,
.rz-dropdown,
.rz-textarea,
.rz-datepicker,
.rz-numeric {
    border-radius: 4px !important;
}

.rz-textbox:focus,
.rz-dropdown:focus,
.rz-textarea:focus {
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

/* Card Collapsed State */
.card.collapsed-card .card-body {
    display: none;
}

/* Footer Styles */
.main-footer {
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    padding: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .small-box .inner h3 {
        font-size: 1.8rem;
    }
    
    .small-box .icon {
        font-size: 3rem;
    }
    
    .content-header h1 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .main-sidebar,
    .main-footer,
    .card-tools,
    .btn {
        display: none !important;
    }
    
    .content-wrapper {
        margin-left: 0 !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        break-inside: avoid;
    }
}

/* Animation for Loading */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card {
    animation: fadeIn 0.3s ease-in-out;
}

/* Tooltip Enhancement */
.tooltip-inner {
    background-color: #343a40;
    border-radius: 4px;
    padding: 8px 12px;
}