/* Apply custom fonts */
body {
    font-family: 'Poppins', 'Hind Siliguri', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
}

h1, .fw-bold {
    font-family: 'Hind Siliguri', sans-serif;
    font-weight: 700;
}

/* Header styling */
header h1 {
    color: #0d6efd; /* Bootstrap primary color */
}

/* Search input styling */
#searchInput {
    box-shadow: none !important;
    border-color: #dee2e6;
}
#searchInput:focus {
    border-color: #86b7fe;
}
.input-group {
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Record Card Styling */
.record-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #ffffff;
}

.record-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.record-card .card-header {
    background-color: #eef5ff;
    border-bottom: 2px solid #0d6efd;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #0d6efd;
    padding: 1rem 1.5rem;
}

.record-card .card-body {
    padding: 1.5rem;
}

.record-card .info-group {
    margin-bottom: 1rem;
}

.record-card .info-group:last-child {
    margin-bottom: 0;
}

.record-card .info-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
}

.record-card .info-value {
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 1rem;
    color: #212529;
}

.record-card .info-value.dags {
    font-family: 'Poppins', sans-serif;
    background-color: #f1f3f5;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    word-break: break-word; /* Ensure long dag lists wrap */
    line-height: 1.6;
}

/* Pagination Styling */
#pagination-container .page-link {
    color: #0d6efd;
    border-radius: 0.25rem;
    margin: 0 3px;
    border: 1px solid #dee2e6;
}

#pagination-container .page-link:hover {
    background-color: #eef5ff;
}

#pagination-container .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    box-shadow: 0 2px 5px rgba(13, 110, 253, 0.4);
}

/* Loading and No Results Indicators */
#loading-indicator {
    padding: 3rem 0;
}

#no-results {
    font-size: 1.2rem;
    font-weight: 500;
}