/* ==========================================================================
   TEXTBOOKS (public /textbooks)
   - Filter bar
   - Textbook cards
   ========================================================================== */

/* --------------------------------------------------------------------------
   Filter bar
   -------------------------------------------------------------------------- */
.textbooks-filter-card {
    border-radius: var(--sja-radius-lg) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.textbooks-filter-card .form-label {
    color: #495057;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.textbooks-filter-card .form-control,
.textbooks-filter-card .form-select {
    border-radius: 0.5rem;
}

/* --------------------------------------------------------------------------
   Textbook card
   -------------------------------------------------------------------------- */
.textbook-card {
    border-radius: var(--sja-radius-lg) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.textbook-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10) !important;
}

.textbook-card .badge {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.textbook-card h5 a {
    display: inline-block;
    line-height: 1.35;
}

.textbook-card h5 a:hover {
    color: var(--sja-primary) !important;
}

.textbook-card p.text-muted {
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .textbook-card .card-body {
        padding: 1.25rem !important;
    }
}
