html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* EMR Global Card Table */
.table-responsive {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

    .table-responsive > table.table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
        margin-bottom: 0;
    }

        /* Header */
        .table-responsive > table.table thead th {
            background-color: var(--primary-color) !important;
            color: #fff !important;
            padding: 1rem !important;
            text-align: left;
            font-weight: 600;
            border-bottom: none !important;
        }

        /* Cells */
        .table-responsive > table.table tbody td,
        .table-responsive > table.table tbody th {
            padding: 1rem !important;
            border-bottom: 1px solid #e9ecef;
            vertical-align: middle;
        }

        /* Last row */
        .table-responsive > table.table tbody tr:last-child > * {
            border-bottom: none;
        }

        /* Hover (beats inline row background) */
        .table-responsive > table.table tbody tr:hover > * {
            background-color: #f8f9fa !important;
            transition: background-color 0.2s ease;
        }


/* Global H2 style */
h2 {
    color: var(--primary-color) !important; /* or use Bootstrap: var(--bs-primary) */
    font-weight: 700 !important;
    position: relative;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1rem !important;
    display: inline-block;
    border-radius: 4px;
}

    /* Underline that matches the text width */
    h2::after {
        content: '';
        position: absolute;
        margin-top:4px;
        left: 0;
        bottom: 0;
        width: 100% !important;
        height: 4px;
        background: linear-gradient( to right, var(--primary-color), var(--background-color) );
        border-radius: 2px;
    }

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


:root {
    --app-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

html, body, button, input, select, textarea {
    font-family: var(--app-font) !important;
}
