/* =============================================================================
   REACT.JS MODERN UI — Global page-level styling
   Applies Material-UI / Tailwind-inspired design to every page consistently.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   1. PAGE WRAPPER — smooth enter animation
   --------------------------------------------------------------------------- */
.page-content,
.p-3,
.invest-page-wrapper,
[style*="minHeight: 100vh"],
[style*="min-height: 100vh"] {
    animation: reactFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes reactFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------------------
   2. CARDS — glassmorphism + micro-interactions (React MUI style)
   --------------------------------------------------------------------------- */
.card,
.shadow-sm,
.admin-card,
.search-card,
.stock-tile-card {
    background: var(--dash-surface, rgba(15, 23, 42, 0.65)) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(12px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.03) !important;
    overflow: hidden;
}

.card:hover,
.shadow-sm:hover,
.admin-card:hover,
.stock-tile-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(99, 102, 241, 0.12) !important;
    border-color: rgba(99, 102, 241, 0.18) !important;
}

/* Light theme override */
body.light-theme .card,
body.light-theme .shadow-sm,
body.light-theme .admin-card,
body.light-theme .search-card,
body.light-theme .stock-tile-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(0, 0, 0, 0.03) !important;
}

body.light-theme .card:hover,
body.light-theme .shadow-sm:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(99, 102, 241, 0.1) !important;
}

/* ---------------------------------------------------------------------------
   3. CARD HEADERS — gradient pill headers (MUI AppBar style)
   --------------------------------------------------------------------------- */
.card-header {
    background: var(--dash-surface, rgba(15, 23, 42, 0.55)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.02em !important;
    padding: 0.8rem 1.1rem !important;
    color: var(--text-primary, #f8fafc) !important;
}

/* Keep gradient headers that are already styled inline */
.card-header[style*="linear-gradient"] {
    background: unset !important;
    border-bottom-color: transparent !important;
    border-radius: 14px 14px 0 0 !important;
    color: white !important;
}

body.light-theme .card-header {
    background: rgba(248, 250, 252, 0.9) !important;
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
    color: #1e293b !important;
}

/* ---------------------------------------------------------------------------
   4. CARD BODY
   --------------------------------------------------------------------------- */
.card-body {
    padding: 1.15rem !important;
}

/* ---------------------------------------------------------------------------
   5. BUTTONS — React MUI ripple-style
   --------------------------------------------------------------------------- */
.btn {
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.02em !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255,255,255,0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.btn:active::after {
    opacity: 1;
    transition: opacity 0s;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3) !important;
}

.btn-primary:hover {
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45) !important;
    filter: brightness(1.08);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.btn-success:hover {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45) !important;
    filter: brightness(1.08);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3) !important;
}

.btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-danger {
    backdrop-filter: blur(6px);
    border-width: 1.5px !important;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.35rem 0.85rem !important;
    font-size: 0.78rem !important;
}

/* ---------------------------------------------------------------------------
   6. INPUTS — floating-label inspired styling
   --------------------------------------------------------------------------- */
.form-control,
.form-select,
input[type="text"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="email"],
textarea.form-control {
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    color: var(--text-primary, #f8fafc) !important;
    padding: 0.55rem 0.9rem !important;
    font-size: 0.88rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.form-control:focus,
.form-select:focus,
input:focus {
    border-color: rgba(99, 102, 241, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
    background: rgba(15, 23, 42, 0.6) !important;
    outline: none !important;
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.5) !important;
}

body.light-theme .form-control,
body.light-theme .form-select,
body.light-theme input[type="text"],
body.light-theme input[type="number"],
body.light-theme input[type="password"],
body.light-theme textarea.form-control {
    background: rgba(248, 250, 252, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #1e293b !important;
}

body.light-theme .form-control:focus {
    background: #fff !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}

/* InputGroup styling */
.input-group-text {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px 0 0 10px !important;
    color: var(--text-secondary, #94a3b8) !important;
    font-size: 0.88rem !important;
}

body.light-theme .input-group-text {
    background: rgba(241, 245, 249, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #64748b !important;
}

/* ---------------------------------------------------------------------------
   7. TABS — React-style segmented control
   --------------------------------------------------------------------------- */
.nav-tabs,
.nav-pills {
    border-bottom: 2px solid rgba(255, 255, 255, 0.06) !important;
    gap: 2px;
}

.nav-tabs .nav-link,
.nav-pills .nav-link {
    border: none !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 0.6rem 1.1rem !important;
    font-weight: 500 !important;
    font-size: 0.82rem !important;
    color: var(--text-muted, #94a3b8) !important;
    background: transparent !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
}

.nav-tabs .nav-link:hover,
.nav-pills .nav-link:hover {
    color: var(--text-primary, #f8fafc) !important;
    background: rgba(99, 102, 241, 0.08) !important;
}

.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
    color: #6366f1 !important;
    background: rgba(99, 102, 241, 0.1) !important;
    font-weight: 600 !important;
}

/* Active tab bottom indicator */
.nav-tabs .nav-link.active::after,
.nav-pills .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 15%;
    right: 15%;
    height: 2.5px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px 2px 0 0;
}

body.light-theme .nav-tabs,
body.light-theme .nav-pills {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .nav-tabs .nav-link,
body.light-theme .nav-pills .nav-link {
    color: #64748b !important;
}

body.light-theme .nav-tabs .nav-link.active,
body.light-theme .nav-pills .nav-link.active {
    color: #4f46e5 !important;
    background: rgba(99, 102, 241, 0.08) !important;
}

/* ---------------------------------------------------------------------------
   8. TABLES — React DataGrid style
   --------------------------------------------------------------------------- */
.table,
table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 0.82rem !important;
}

.table thead th,
table thead th {
    background: rgba(15, 23, 42, 0.6) !important;
    color: var(--text-secondary, #94a3b8) !important;
    font-weight: 600 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 0.7rem 0.8rem !important;
    border-bottom: 2px solid rgba(99, 102, 241, 0.15) !important;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table thead th:first-child {
    border-radius: 10px 0 0 0 !important;
}

.table thead th:last-child {
    border-radius: 0 10px 0 0 !important;
}

.table tbody tr {
    transition: background 0.15s ease !important;
}

.table tbody tr:hover {
    background: rgba(99, 102, 241, 0.06) !important;
}

.table tbody td {
    padding: 0.6rem 0.8rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    vertical-align: middle !important;
}

body.light-theme .table thead th,
body.light-theme table thead th {
    background: rgba(241, 245, 249, 0.95) !important;
    color: #475569 !important;
    border-bottom-color: rgba(99, 102, 241, 0.12) !important;
}

body.light-theme .table tbody tr:hover {
    background: rgba(99, 102, 241, 0.04) !important;
}

body.light-theme .table tbody td {
    border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}

/* ---------------------------------------------------------------------------
   9. BADGES — pill badges
   --------------------------------------------------------------------------- */
.badge {
    border-radius: 20px !important;
    font-weight: 500 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.03em !important;
    padding: 0.3em 0.7em !important;
}

/* ---------------------------------------------------------------------------
   10. MODALS — frosted glass
   --------------------------------------------------------------------------- */
.modal-content {
    background: rgba(15, 23, 42, 0.92) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5) !important;
    animation: reactModalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes reactModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 1rem 1.25rem !important;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 0.8rem 1.25rem !important;
}

.modal-backdrop.show {
    backdrop-filter: blur(4px);
}

body.light-theme .modal-content {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2) !important;
}

/* ---------------------------------------------------------------------------
   11. DROPDOWNS — sleek React-select style
   --------------------------------------------------------------------------- */
.Select-control,
.dash-dropdown .Select-control {
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    min-height: 36px !important;
}

.Select-menu-outer {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    margin-top: 4px !important;
    overflow: hidden;
}

.Select-option.is-focused {
    background: rgba(99, 102, 241, 0.15) !important;
}

.Select-option.is-selected {
    background: rgba(99, 102, 241, 0.25) !important;
}

/* ---------------------------------------------------------------------------
   12. LOADING SPINNERS — accent color
   --------------------------------------------------------------------------- */
._dash-loading-callback {
    background-color: transparent !important;
}

.dash-spinner .spinner-border,
._dash-loading .spinner-border {
    color: #6366f1 !important;
}

/* ---------------------------------------------------------------------------
   13. ALERTS — React-style banners
   --------------------------------------------------------------------------- */
.alert {
    border-radius: 12px !important;
    border: none !important;
    backdrop-filter: blur(8px) !important;
    font-size: 0.85rem !important;
    padding: 0.85rem 1.1rem !important;
}

.alert-success {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #10b981 !important;
    border-left: 4px solid #10b981 !important;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
    border-left: 4px solid #ef4444 !important;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #f59e0b !important;
    border-left: 4px solid #f59e0b !important;
}

.alert-info {
    background: rgba(59, 130, 246, 0.12) !important;
    color: #3b82f6 !important;
    border-left: 4px solid #3b82f6 !important;
}

body.light-theme .alert-success { background: rgba(16, 185, 129, 0.08) !important; }
body.light-theme .alert-danger  { background: rgba(239, 68, 68, 0.08) !important; }
body.light-theme .alert-warning { background: rgba(245, 158, 11, 0.08) !important; }
body.light-theme .alert-info    { background: rgba(59, 130, 246, 0.08) !important; }

/* ---------------------------------------------------------------------------
   14. TOASTS — slide-in from right
   --------------------------------------------------------------------------- */
.toast {
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(15, 23, 42, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    animation: reactSlideInRight 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes reactSlideInRight {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}

body.light-theme .toast {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* ---------------------------------------------------------------------------
   15. ACCORDION — smooth expand (Help page)
   --------------------------------------------------------------------------- */
.accordion-item {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    margin-bottom: 0.5rem !important;
    overflow: hidden;
}

.accordion-button {
    background: rgba(15, 23, 42, 0.4) !important;
    color: var(--text-primary, #f8fafc) !important;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    padding: 0.85rem 1.1rem !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.1) !important;
    color: #818cf8 !important;
}

.accordion-button::after {
    filter: invert(0.7);
}

.accordion-body {
    background: rgba(15, 23, 42, 0.2) !important;
    padding: 1rem 1.25rem !important;
    font-size: 0.85rem !important;
    line-height: 1.7 !important;
}

body.light-theme .accordion-item {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

body.light-theme .accordion-button {
    background: rgba(248, 250, 252, 0.8) !important;
    color: #1e293b !important;
}

body.light-theme .accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.06) !important;
    color: #4f46e5 !important;
}

body.light-theme .accordion-body {
    background: rgba(248, 250, 252, 0.5) !important;
}

/* ---------------------------------------------------------------------------
   16. PAGE HEADERS — uniform across all pages
   --------------------------------------------------------------------------- */
.border-bottom {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

body.light-theme .border-bottom {
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

/* ---------------------------------------------------------------------------
   17. RADIO BUTTONS / TIME RANGE SELECTORS — pill toggles
   --------------------------------------------------------------------------- */
.time-range-buttons .btn-outline-primary {
    border-radius: 20px !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: var(--text-secondary, #94a3b8) !important;
    font-size: 0.78rem !important;
    padding: 0.3rem 0.8rem !important;
    margin: 0 2px !important;
    transition: all 0.2s ease !important;
}

.time-range-buttons .btn-outline-primary:hover {
    background: rgba(99, 102, 241, 0.1) !important;
    color: #818cf8 !important;
}

.time-range-buttons .btn-outline-primary.active {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35) !important;
}

/* ---------------------------------------------------------------------------
   18. SCROLLBARS — thin modern
   --------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.35);
}

body.light-theme ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
}

/* ---------------------------------------------------------------------------
   19. TEXT UTILITIES — consistent typography
   --------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    letter-spacing: -0.01em !important;
}

.text-muted {
    color: var(--text-muted, #94a3b8) !important;
}

small, .small {
    font-size: 0.78rem !important;
}

/* ---------------------------------------------------------------------------
   20. CHECKLIST / RADIO — pill toggles for Investment page
   --------------------------------------------------------------------------- */
.invest-sector-checklist .form-check {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 0.3rem 0.75rem 0.3rem 1.8rem;
    margin: 0.15rem;
    transition: all 0.2s ease;
}

.invest-sector-checklist .form-check:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.invest-sector-checklist .form-check-input:checked + .form-check-label {
    color: #818cf8;
}

body.light-theme .invest-sector-checklist .form-check {
    background: rgba(241, 245, 249, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}

/* ---------------------------------------------------------------------------
   21. LABEL — subtle uppercase
   --------------------------------------------------------------------------- */
label,
.form-label {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    color: var(--text-secondary, #94a3b8) !important;
    margin-bottom: 0.35rem !important;
}

body.light-theme label,
body.light-theme .form-label {
    color: #475569 !important;
}

/* ---------------------------------------------------------------------------
   22. CHARTS (Plotly) — dark themed
   --------------------------------------------------------------------------- */
.js-plotly-plot .plotly .modebar {
    right: 10px !important;
}

.js-plotly-plot .plotly .modebar-btn path {
    fill: rgba(148, 163, 184, 0.5) !important;
}

.js-plotly-plot .plotly .modebar-btn:hover path {
    fill: #6366f1 !important;
}

/* ---------------------------------------------------------------------------
   23. IMAGES — rounded with subtle border
   --------------------------------------------------------------------------- */
img {
    border-radius: 10px;
}

/* ---------------------------------------------------------------------------
   24. HR / DIVIDERS
   --------------------------------------------------------------------------- */
hr {
    border-color: rgba(255, 255, 255, 0.06) !important;
    opacity: 1 !important;
}

body.light-theme hr {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

/* ---------------------------------------------------------------------------
   25. TOOLTIP — react-style
   --------------------------------------------------------------------------- */
.tooltip-inner {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 8px !important;
    font-size: 0.76rem !important;
    padding: 0.4rem 0.7rem !important;
    max-width: 280px !important;
}

/* ---------------------------------------------------------------------------
   26. SECTOR TILES — uniform card grid
   --------------------------------------------------------------------------- */
#sector-tiles-container .card {
    height: 100%;
}

/* ---------------------------------------------------------------------------
   27. TOP PICKS GRID — equal-height cards
   --------------------------------------------------------------------------- */
.stock-tile-card .card-body {
    display: flex;
    flex-direction: column;
}

/* ---------------------------------------------------------------------------
   28. SEARCH INPUT — React Autocomplete style
   --------------------------------------------------------------------------- */
.search-stock-input {
    border-radius: 10px !important;
    font-size: 0.92rem !important;
    padding: 0.65rem 1rem !important;
}

.search-stock-btn {
    border-radius: 10px !important;
    font-size: 0.92rem !important;
    min-height: 42px;
}

/* ---------------------------------------------------------------------------
   29. KITE API PAGE — centered card polish
   --------------------------------------------------------------------------- */
#api-key-input,
#api-secret-input,
#request-token-input {
    border-radius: 0 10px 10px 0 !important;
}

/* ---------------------------------------------------------------------------
   30. RESPONSIVE: mobile tweaks
   --------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .card-body   { padding: 0.85rem !important; }
    .card-header { padding: 0.65rem 0.85rem !important; font-size: 0.84rem !important; }
    .btn-sm      { padding: 0.3rem 0.65rem !important; font-size: 0.74rem !important; }
    h3           { font-size: 1.15rem !important; }
    h4           { font-size: 1.05rem !important; }
}
