* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: #263238;
    background: #f4f6fb;
}

a {
    text-decoration: none;
}

.public-body {
    background: #f4f6fb;
}

.flash-toast-host {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1100;
    width: min(420px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.flash-toast-host .flash-toast.toast,
.flash-toast.toast {
    pointer-events: auto;
    max-width: 100%;
    border: 1px solid #dfe8f3;
    border-left: 4px solid #3f9ed4;
    border-radius: 8px;
    background: #fff;
    color: #25364d;
    box-shadow: 0 14px 36px rgba(31, 53, 79, 0.16);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    overflow: hidden;
}

.flash-toast.toast.show,
.flash-toast.toast.showing {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.flash-toast-body {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.5;
}

.flash-toast-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.flash-toast-message {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
}

.flash-toast-close {
    width: auto;
    height: auto;
    padding: 0;
    margin: 0 0 0 4px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.55;
    cursor: pointer;
}

.flash-toast-close:hover,
.flash-toast-close:focus {
    background: transparent;
    color: inherit;
    opacity: 0.9;
    outline: none;
}

.flash-toast-success {
    border-left-color: #4fa267;
}

.flash-toast-success .flash-toast-icon {
    background: #edf8f0;
    color: #3f8f57;
}

.flash-toast-success .flash-toast-icon::before {
    content: "\2713";
}

.flash-toast-error {
    border-left-color: #d64a4a;
}

.flash-toast-error .flash-toast-icon {
    background: #fdeeee;
    color: #bd3434;
}

.flash-toast-error .flash-toast-icon::before {
    content: "!";
}

.flash-toast-warning {
    border-left-color: #d8a03f;
}

.flash-toast-warning .flash-toast-icon {
    background: #fff6df;
    color: #a86f13;
}

.flash-toast-warning .flash-toast-icon::before {
    content: "!";
}

.flash-toast-info .flash-toast-icon {
    background: #edf6fc;
    color: #2d7aa6;
}

.flash-toast-info .flash-toast-icon::before {
    content: "i";
}

.site-shell {
    width: 100%;
    margin: 0 auto;
}

.site-shell-wide {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

.site-header .navbar-brand,
.site-header .nav-link {
    font-family: "Inter", sans-serif;
}

.site-header .site-shell-wide {
    align-items: center;
    display: flex;
    width: 100%;
    min-height: 76px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.site-header .navbar-collapse {
    justify-content: space-between;
    text-align: left;
    align-items: center;
    width: 100%;
    flex-grow: 1;
}

.site-header-main {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    flex: 1;
}

.site-header .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 22px;
}

.site-header .navbar-brand {
    margin-right: 0;
    text-align: left;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
}

.site-header .nav-link {
    font-size: 1.32rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0;
    line-height: 1;
}

.site-header-actions .btn {
    font-size: 1.18rem;
    font-weight: 700;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .site-header .site-shell-wide {
        min-height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .site-header-main {
        display: block;
        width: 100%;
    }

    .site-header .navbar-brand {
        display: inline-block;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .site-header .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .site-header-actions {
        margin-left: 0;
        margin-top: 12px;
        gap: 10px;
    }
}

.site-footer {
    background: #fff;
    text-align: left;
}

.site-footer .row,
.site-footer .col-md-4,
.site-footer h5,
.site-footer p {
    text-align: left;
}

.site-footer h5 {
    font-size: 2rem;
    font-weight: 700;
}

.site-footer h6 {
    font-size: 1.32rem;
    font-weight: 700;
}

.site-footer p,
.site-footer li,
.site-footer a {
    font-size: 1.18rem;
    line-height: 1.9;
}

@media (min-width: 992px) {
    .site-shell-wide {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.site-section {
    padding: 72px 0;
}

.site-hero {
    padding: 72px 0 48px;
    background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 16px;
    color: #2b74b1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 14px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.08;
    font-weight: 800;
    color: #1f2d46;
    margin-bottom: 18px;
}

.hero-copy {
    font-size: 18px;
    color: #55657b;
    line-height: 1.7;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-note {
    margin-top: 18px;
    color: #6c7a90;
}

.hero-image-card img {
    width: 100%;
    object-fit: cover;
    min-height: 340px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 42px;
}

.section-heading h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1f2d46;
}

.section-heading p {
    color: #64748b;
    font-size: 18px;
}

.feature-card,
.value-card,
.contact-card,
.success-card {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(27, 41, 61, 0.06);
}

.feature-card h3,
.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #24344f;
}

.feature-card p,
.value-card p,
.contact-card p,
.success-card p {
    color: #516379;
    line-height: 1.9;
    margin-bottom: 0;
    font-size: 1.22rem;
    font-weight: 500;
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #eaf4fe;
    color: #368ac8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.cta-strip {
    background: linear-gradient(135deg, #4c88c7 0%, #6bb8e6 100%);
    color: #fff;
    padding: 44px 0;
}

.cta-strip h2 {
    margin-bottom: 10px;
    font-size: 34px;
    font-weight: 800;
}

.contact-wrapper {
    max-width: 1160px;
    margin: 0 auto;
}

.container.form-container {
    max-width: 1450px !important;
    width: 100% !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.enquiries.form.content {
    max-width: 1450px !important;
    width: 100% !important;
    margin: 0 auto;
}

.enquiries fieldset legend {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    width: 100%;
    padding-bottom: 10px;
}

.input {
    margin-bottom: 2rem !important;
}

.contact-list {
    padding-left: 18px;
    margin: 20px 0 0;
    color: #64748b;
}

.contact-list li {
    font-size: 14px;
    margin-bottom: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-span-2 {
    grid-column: span 2;
}

.form-group-block label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #24344f;
}

.form-group-block .form-control,
.form-group input,
.form-group select,
.form-group textarea,
.form-group-block textarea,
.form-group-block select {
    width: 100%;
    border: 1px solid #d7deea;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
    outline: none;
}

.form-group-block .form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-group-block textarea:focus,
.form-group-block select:focus {
    border-color: #68a9df;
    box-shadow: 0 0 0 3px rgba(104, 169, 223, 0.15);
}

.form-group-block .form-control:user-invalid,
.form-group input:user-invalid,
.form-group select:user-invalid,
.form-group textarea:user-invalid,
.form-group-block textarea:user-invalid,
.form-group-block select:user-invalid {
    border-color: #f4325f;
    box-shadow: 0 0 0 3px rgba(247, 100, 137, 0.15);
}

.checkbox-block {
    padding-top: 8px;
}

.checkbox-block input {
    margin-right: 8px;
}

.form-actions {
    margin-top: 24px;
}

.success-card {
    max-width: 760px;
    margin: 0 auto;
}

.success-icon {
    font-size: 56px;
    color: #3f9ed4;
    margin-bottom: 20px;
}

.success-card h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #1f2d46;
}

/* ---------------- AUTH ---------------- */

.auth-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #edf4ff 0%, #f8fbff 100%);
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-page {
    width: 100%;
    max-width: 1100px;
    min-height: 650px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 20px 60px rgba(25, 42, 70, 0.12);
}

.login-card {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand {
    margin-bottom: 32px;
}

.brand-logo.big {
    width: 54px;
    height: 54px;
    font-size: 28px;
}

.login-brand h1 {
    margin: 16px 0 8px;
    font-size: 36px;
    font-weight: 800;
}

.login-brand p {
    margin: 0;
    color: #6b7280;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.required label::after {
    content: "*";
    color: red;
    margin-left: 5px;
}

.form-group input {
    height: 50px;
}

.login-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4c88c7 0%, #6bb8e6 100%);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: none;
}

.auth-secondary-link {
    text-align: center;
}

.login-side {
    background: linear-gradient(135deg, #1e3655 0%, #2f4f76 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.login-side-content h2 {
    margin: 0 0 16px;
    font-size: 40px;
    font-weight: 800;
}

.login-side-content p {
    margin: 0;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
}

.error-container {
    justify-content: center;
    height: 60vh;
    margin: 0 20px;
}

.error-container img {
    object-fit: contain;
}

/* ---------------- ADMIN ---------------- */

.admin-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: linear-gradient(180deg, #24344f 0%, #1f2d46 100%);
    color: #fff;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 4px 8px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.brand-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.nav-item {
    color: #d7dfef;
    height: 48px;
    border-radius: 12px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.nav-item.active {
    background: linear-gradient(135deg, #53a7d7 0%, #6ebee6 100%);
    color: #fff;
}

.site-header .nav-link.active {
    background: none;
    font-weight: 700;
}

.nav-icon {
    width: 18px;
    text-align: center;
}

.sidebar-footer {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-size: 14px;
    padding: 20px 8px 0;
}

.sidebar-logout-link {
    color: #fff;
    font-weight: 700;
}

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid #e8edf5;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.breadcrumb-light {
    color: #7f8ca3;
}

.breadcrumb-strong {
    color: #27364e;
    font-weight: 700;
}

.breadcrumb-sep {
    color: #a3afc2;
    margin: 0 6px;
}

.main-content {
    padding: 28px;
}

.page-head {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    padding: 26px 30px;
    margin-bottom: 22px;
}

.page-head h1 {
    margin: 10px 0 8px;
    font-size: 28px;
}

.page-head p {
    margin: 0;
    color: #6f7c90;
    font-size: 18px;
}

.crumb-row {
    color: #7b8a9f;
    font-size: 15px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.stat-card {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 16px;
    padding: 22px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-blue {
    background: linear-gradient(135deg, #68acdb 0%, #4a88c9 100%);
    color: #fff;
}

.stat-gray {
    background: linear-gradient(135deg, #f6f8fc 0%, #eef2f7 100%);
}

.stat-peach {
    background: linear-gradient(135deg, #fff7ef 0%, #fff0df 100%);
}

.stat-pink {
    background: linear-gradient(135deg, #fff1f1 0%, #ffe5e5 100%);
}

.stat-number {
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 20px;
    font-weight: 500;
    margin-top: 6px;
}

.dashboard-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-weight: 600;
    color: inherit;
}

.dashboard-grid,
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.panel {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    padding: 22px;
}

.panel-header,
.sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.panel h3,
.sub-header h3,
.sub-header h4 {
    margin: 0;
    font-size: 22px;
}

.sub-header a {
    color: #5ea8d6;
    font-weight: 600;
}

.sub-header a.btn-info,
.sub-header a.btn-info:hover,
.sub-header a.btn-info:focus,
.sub-header a.btn-info:active,
.sub-header a.btn-info:visited {
    color: #fff;
}

.list-row,
.alert-row,
.task-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid #edf1f7;
}

.avatar-sm {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eef4fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-content,
.alert-content {
    flex: 1;
}

.list-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.list-subtitle {
    color: #6f7c90;
    line-height: 1.5;
}

.list-time {
    color: #7a869a;
    white-space: nowrap;
    font-size: 14px;
}

.panel-kicker {
    margin: 6px 0 0;
    color: #6f7c90;
    font-size: 14px;
    line-height: 1.5;
}

.health-log-schedule-panel {
    margin-bottom: 22px;
}

.health-log-schedule-head {
    align-items: flex-start;
    gap: 16px;
}

.health-log-primary-link {
    white-space: nowrap;
}

.health-log-reminder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid #d7e6f1;
    border-radius: 14px;
    background: #f5fbff;
}

.health-log-reminder strong {
    color: #24344f;
}

.health-log-reminder p {
    margin: 4px 0 0;
    color: #64748b;
    line-height: 1.5;
}

.health-log-reminder.is-overdue {
    border-color: #efc5c1;
    background: #fff6f4;
}

.health-log-reminder.is-overdue strong {
    color: #a43a34;
}

.health-log-deadline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.health-log-deadline-card {
    min-height: 138px;
    padding: 16px;
    border: 1px solid #e2e8f2;
    border-left: 4px solid #9aa8ba;
    border-radius: 14px;
    background: #fff;
}

.health-log-deadline-card.status-completed {
    border-left-color: #4fa267;
    background: #fbfffc;
}

.health-log-deadline-card.status-completed_late {
    border-left-color: #d39a2d;
    background: #fffaf0;
}

.health-log-deadline-card.status-overdue {
    border-left-color: #d95d5d;
    background: #fffafa;
}

.health-log-deadline-card.status-upcoming {
    border-left-color: #5ea8d6;
}

.health-log-deadline-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    color: #6f7c90;
    font-size: 13px;
    font-weight: 700;
}

.health-log-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef4fa;
    color: #43556f;
    font-size: 12px;
    white-space: nowrap;
}

.status-completed .health-log-status {
    background: #eaf7ee;
    color: #347a49;
}

.status-completed_late .health-log-status {
    background: #fff1d4;
    color: #94600f;
}

.status-overdue .health-log-status {
    background: #ffe8e8;
    color: #b84242;
}

.status-upcoming .health-log-status {
    background: #e9f6fd;
    color: #3279a5;
}

.health-log-deadline-card strong {
    display: block;
    color: #24344f;
    font-size: 17px;
    line-height: 1.4;
}

.health-log-deadline-meta {
    margin-top: 10px;
    color: #6f7c90;
    font-size: 14px;
    line-height: 1.5;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid #edf1f7;
    font-size: 16px;
    font-weight: 600;
}

.status-row span:last-child {
    color: #7c879b;
    font-weight: 400;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
    vertical-align: middle;
}

.teal {
    background: #4fc0c5;
}
.blue {
    background: #65aee0;
}
.orange {
    background: #f0b04d;
}
.red {
    background: #d95d5d;
}
.gray {
    background: #a0b0c7;
}

.bottom-note {
    margin-top: 22px;
    text-align: center;
    color: #7d889c;
    padding: 20px 0 4px;
    font-size: 14px;
}

.filter-bar {
    margin-bottom: 20px;
}

.filter-row {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.filter-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-table {
    margin-bottom: 0;
}

.admin-table th,
.admin-table td {
    vertical-align: middle;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-new {
    background: #e6f4ff;
    color: #1d72b8;
}

.status-read {
    background: #edf2f7;
    color: #52667d;
}

.status-replied {
    background: #fef3df;
    color: #b16b00;
}

.status-archived {
    background: #f7ebf7;
    color: #8d5090;
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
}

.empty-state.compact {
    padding: 22px 0;
}

.detail-card {
    min-height: 100%;
}

.detail-list {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 14px 20px;
    margin: 0;
}

.detail-list dt {
    font-weight: 700;
    color: #24344f;
}

.detail-list dd {
    margin: 0;
    color: #64748b;
}

.message-box {
    background: #f8fbff;
    border: 1px solid #e5ebf3;
    border-radius: 16px;
    padding: 18px;
    color: #48566b;
    line-height: 1.7;
}

.appointment-reminder-panel {
    margin-bottom: 22px;
    border-color: #b9dff2;
    background: #f6fcff;
}

.appointment-reminder-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.appointment-reminder-content h3 {
    margin: 6px 0 8px;
    color: #173f62;
    font-size: 22px;
}

.appointment-reminder-content p {
    margin: 0 0 6px;
    color: #4d6177;
    line-height: 1.6;
}

.reminder-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #dff2fb;
    color: #246f9d;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.appointment-reminder-alert {
    border-color: #b9dff2;
    background: #f1faff;
}

.credential-expiry-alert {
    border-color: #f0d3a2;
    background: #fffaf0;
}

.credential-expiry-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.links a {
    margin-right: 10px;
}

.release-name {
    color: #d33c43;
    font-weight: 400;
    font-style: italic;
}

.bullet::before {
    font-family: "cakefont", sans-serif;
    font-size: 18px;
    display: inline-block;
    margin-left: -1.3em;
    width: 1.2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: -1px;
}

.success::before {
    color: #88c671;
    content: "\0056";
}

.problem::before {
    color: #d33d44;
    content: "\0057";
}

.cake-error {
    padding: 10px;
    margin: 10px 0;
}

#url-rewriting-warning {
    display: none;
}

@media (max-width: 1200px) {
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .flash-toast-host {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }

    .login-page {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .filter-row,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-span-2 {
        grid-column: auto;
    }

    .hero-title {
        font-size: 40px;
    }
}

/* ---------------- PORTAL & SHARED COMPONENTS ---------------- */

.portal-body {
    background: #eef2f8;
}

.portal-shell {
    display: flex;
    min-height: 100vh;
}

.portal-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #213452 0%, #1b2b43 100%);
    color: #fff;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
}

.portal-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0 14px;
    margin: 0 8px 20px;
}

.portal-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portal-topbar {
    background: #fff;
    border-bottom: 1px solid #e5ebf3;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.crumb-light,
.breadcrumb-light {
    color: #7f8ca3;
}

.crumb-strong,
.breadcrumb-strong {
    color: #27364e;
    font-weight: 700;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.summary-grid div {
    background: #f8fbff;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    padding: 16px;
    color: #4b5d72;
}

.risk-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.risk-low {
    background: #e8f7ef;
    color: #1f8a4c;
}

.risk-medium {
    background: #fff4df;
    color: #a86b00;
}

.risk-high {
    background: #ffe6e6;
    color: #bf3b3b;
}

.reminder-list {
    display: grid;
    gap: 10px;
}

.ai-disclaimer {
    background: #f8fbff;
    border: 1px solid #dbe9f5;
    border-radius: 14px;
    padding: 16px 18px;
    color: #516379;
    line-height: 1.7;
}

.simple-list {
    padding-left: 20px;
    margin: 18px 0;
    color: #4f6076;
}

.simple-list li {
    margin-bottom: 10px;
}

.appointment-card {
    background: #fdfefe;
    border: 1px solid #e5ebf3;
    border-radius: 16px;
    padding: 20px;
}

.appointment-card + .appointment-card {
    margin-top: 16px;
}

.conversation-picker {
    margin-bottom: 18px;
}

.conversation-picker-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.compact-action {
    margin-top: 0;
}

.message-thread {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 620px;
    overflow-y: auto;
    padding-right: 4px;
}

.message-bubble {
    max-width: 88%;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 6px 20px rgba(28, 42, 64, 0.06);
}

.message-bubble p {
    margin: 0;
    color: #3f4f66;
    line-height: 1.7;
}

.message-bubble.mine {
    align-self: flex-end;
    background: linear-gradient(135deg, #5ca8d8 0%, #6ebbe8 100%);
    color: #fff;
}

.message-bubble.mine p,
.message-bubble.mine .message-subject,
.message-bubble.mine .message-meta {
    color: #fff;
}

.message-bubble.theirs {
    align-self: flex-start;
    background: #f8fbff;
    border: 1px solid #e4ebf4;
}

.message-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #68809c;
}

.message-subject {
    font-weight: 700;
    margin-bottom: 8px;
    color: #2f4056;
}

.demo-credentials {
    background: #f8fbff;
    border: 1px solid #dce6f2;
    border-radius: 16px;
    padding: 18px;
}

.demo-credentials h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.demo-credentials-list {
    display: grid;
    gap: 12px;
}

.demo-credential-card {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 14px;
    padding: 14px 16px;
    color: #4b5d72;
}

.resource-section + .resource-section {
    margin-top: 28px;
}

.resource-section-title {
    margin: 0 0 18px;
    font-size: 28px;
    font-weight: 800;
    color: #23344d;
}

.resource-audience {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border-radius: 999px;
    background: #eaf4fe;
    color: #3a84be;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0 10px;
    margin-bottom: 12px;
}

.resource-body p {
    color: #55657b;
    margin-bottom: 0;
}

.filter-field {
    min-width: 0;
}

@media (max-width: 1200px) {
    .portal-sidebar {
        width: 230px;
    }
}

@media (max-width: 900px) {
    .portal-sidebar {
        display: none;
    }

    .portal-topbar {
        padding: 16px 20px;
    }

    .conversation-picker-grid,
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .message-bubble {
        max-width: 100%;
    }
}

/* ---------------- FINAL POLISH / MODALS / MAILBOX ---------------- */

.page-head-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.page-head-actions,
.inline-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wrap-actions {
    flex-wrap: wrap;
}

.toolbar {
    margin-bottom: 18px;
}

.toolbar-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.toolbar-search {
    position: relative;
    flex: 1 1 320px;
}

.toolbar-search .form-control,
.toolbar-field .form-control,
.topbar-search input {
    border: 1px solid #d7deea;
    border-radius: 12px;
    min-height: 46px;
    padding: 0 14px 0 42px;
    background: #fff;
}

.toolbar-field {
    min-width: 180px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8fa0b6;
    z-index: 2;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-cluster {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rich-topbar {
    padding-top: 16px;
    padding-bottom: 16px;
}

.topbar-search {
    position: relative;
    min-width: 260px;
}

.topbar-search input {
    width: 100%;
}

.icon-circle,
.profile-chip {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f3f6fb;
    border: 1px solid #e5ebf3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #40526b;
    position: relative;
}

.profile-chip {
    background: linear-gradient(135deg, #4c88c7 0%, #6bb8e6 100%);
    color: #fff;
    font-weight: 800;
}

.icon-badge::after {
    content: attr(data-badge);
    position: absolute;
    top: -4px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #e35d5d;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.sidebar-toggle {
    display: none;
}

.breadcrumb-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tab-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.tab-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #d8e0ec;
    background: #fff;
    color: #52667d;
    font-weight: 600;
}

.tab-pill.active {
    background: linear-gradient(135deg, #53a7d7 0%, #6ebee6 100%);
    border-color: transparent;
    color: #fff;
}

.table-subtext {
    color: #7b889d;
    font-size: 13px;
    margin-top: 4px;
}

.text-truncate {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.inline-form {
    display: inline-flex;
    margin: 0;
}

.mailbox-table th,
.mailbox-table td {
    padding-top: 14px;
    padding-bottom: 14px;
}

.stack-list {
    display: grid;
    gap: 14px;
}

.mailbox-item-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid #edf1f7;
}

.mailbox-item-card:first-child {
    border-top: none;
}

.mailbox-item-main {
    display: flex;
    gap: 16px;
    flex: 1;
}

.mailbox-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #dff1fb;
    color: #3279b4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.mailbox-avatar.danger {
    background: #ffeaea;
    color: #d34d4d;
}

.mailbox-panel-note {
    margin: 6px 0 0;
    color: #6e8096;
    font-size: 13px;
    line-height: 1.5;
}

.mailbox-content {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.mailbox-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    min-width: 0;
}

.mailbox-title-row h3,
.mailbox-title-row strong {
    margin: 0;
    font-size: 17px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mailbox-title-row span {
    flex: 0 0 auto;
}

.mailbox-date {
    color: #92a0b3;
    font-size: 12px;
    font-weight: 700;
}

.mailbox-item-subject {
    margin-top: 2px;
    color: #2e4058;
    font-weight: 700;
}

.mailbox-item-preview {
    margin-top: 4px;
    color: #71829a;
}

.mailbox-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mailbox-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 340px;
    gap: 18px;
}

.mailbox-sidebar-panel,
.mailbox-thread-panel,
.mailbox-compose-panel {
    min-width: 0;
    min-height: 640px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.mailbox-list {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.mailbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
    border: 1px solid #e4ebf4;
    border-radius: 16px;
    padding: 14px;
    background: #f9fbff;
    color: inherit;
    box-sizing: border-box;
    overflow: hidden;
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.mailbox-item:hover {
    border-color: #cfe0f1;
    box-shadow: 0 10px 24px rgba(31, 53, 79, 0.08);
    transform: translateY(-1px);
}

.mailbox-item.active {
    border-color: #68a9df;
    background: linear-gradient(135deg, #eef7fe 0%, #f7fbff 100%);
    box-shadow: 0 12px 28px rgba(64, 136, 199, 0.12);
}

.mailbox-sidebar-header,
.mailbox-thread-header,
.mailbox-compose-header {
    align-items: flex-start;
}

.mailbox-count-pill {
    background: #edf7ff;
    border: 1px solid #d8eaf8;
    color: #3279b4;
}

.mailbox-thread-person {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.mailbox-thread-person .mailbox-avatar {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.mailbox-thread-person h3 {
    margin: 0;
}

.mailbox-compose-form .form-control {
    background: #fff;
}

.mailbox-compose-form textarea.form-control {
    min-height: 260px;
}

.count-pill {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #5ea8d6;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    align-self: center;
}

.mailbox-thread {
    min-height: 520px;
    padding-top: 8px;
}

.appointment-action-cell {
    display: flex;
    justify-content: flex-end;
    min-width: 210px;
}

.appointment-action-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
}

.appointment-action-note {
    max-width: 320px;
    color: #7b889d;
    font-size: 13px;
    line-height: 1.5;
    text-align: right;
}

.appointment-action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 36px;
    flex: 0 0 auto;
}

.appointment-action-buttons .btn {
    min-width: 96px;
}

.appointment-action-spacer {
    width: 100%;
    min-height: 36px;
}

.message-detail-grid {
    align-items: start;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 34, 52, 0.52);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-open {
    overflow: hidden;
}

.modal-card {
    width: min(720px, 100%);
    max-height: 92vh;
    overflow: auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(17, 28, 45, 0.22);
}

.modal-lg {
    width: min(980px, 100%);
}

.modal-header,
.modal-footer {
    padding: 22px 24px;
    border-bottom: 1px solid #edf1f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.modal-header p {
    margin: 6px 0 0;
    color: #6f7c90;
}

.modal-footer {
    border-top: 1px solid #edf1f7;
    border-bottom: none;
    justify-content: flex-end;
}

.modal-body {
    padding: 24px;
}

.modal-close {
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #6f7c90;
    cursor: pointer;
}

.register-page {
    max-width: 1320px;
}

.register-card {
    padding-top: 40px;
    padding-bottom: 40px;
}

.auth-checkbox-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.auth-simple-list {
    color: rgba(255, 255, 255, 0.9);
}

.suggestion-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.suggestion-chip {
    border: 1px solid #d6e4f2;
    background: #f8fbff;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.4;
    color: #3d536d;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .mailbox-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .page-head-split,
    .toolbar-row,
    .mailbox-item-card {
        flex-direction: column;
        align-items: stretch;
    }

    .mailbox-thread-header,
    .mailbox-sidebar-header,
    .mailbox-compose-header {
        flex-direction: column;
        align-items: stretch;
    }

    .mailbox-thread-person {
        align-items: flex-start;
    }

    .appointment-action-cell {
        min-width: 0;
        justify-content: stretch;
    }

    .appointment-action-row {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .appointment-action-note {
        max-width: none;
        text-align: left;
    }

    .appointment-action-buttons {
        justify-content: flex-start;
    }

    .sidebar,
    .portal-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        display: flex;
    }

    body.nav-open .sidebar,
    body.nav-open .portal-sidebar {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: inline-flex;
    }

    .topbar-search {
        width: 100%;
        min-width: 0;
    }
}

/* ---------------- UI FIXES & EXTENSIONS ---------------- */
.form-group-block .form-control,
.form-group input.form-control,
.form-group select.form-control,
.form-group-block select.form-control,
.form-group-block input.form-control,
.toolbar .form-control,
.topbar-search input,
.modal-card .form-control {
    min-height: 50px;
    height: 50px;
    line-height: 1.25;
    padding: 0 14px;
}

.form-group-block textarea.form-control,
.form-group textarea.form-control,
.modal-card textarea.form-control,
textarea.form-control {
    height: auto;
    min-height: 120px;
    line-height: 1.55;
    padding: 12px 14px;
}

.form-group-block select.form-control,
.toolbar select.form-control,
.modal-card select.form-control {
    padding-right: 40px;
    appearance: auto;
    background-color: #fff;
}

.form-group-block input[type="checkbox"],
.checkbox-block input[type="checkbox"] {
    width: auto;
    min-height: auto;
    height: auto;
    padding: 0;
}

.topbar-avatar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.topbar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 6px 16px rgba(31, 45, 70, 0.12);
}

.icon-badge {
    position: relative;
}

.icon-badge::after {
    content: attr(data-badge);
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef6b6b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.icon-badge[data-badge="0"]::after {
    display: none;
}

.topbar-logout {
    min-height: 44px;
    border-radius: 12px;
    font-weight: 600;
}

.avatar-upload-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.avatar-preview,
.settings-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dceeff;
    color: #2b74b1;
    font-weight: 800;
    font-size: 24px;
    flex-shrink: 0;
}

.avatar-preview img,
.settings-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

.slot-list {
    display: grid;
    gap: 14px;
}

.slot-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    background: #fff;
    padding: 18px 20px;
}

.slot-card-main h4,
.slot-card-main h5 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #24344f;
}

.slot-meta {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.slot-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.doctor-availability-list {
    display: grid;
    gap: 18px;
}

.doctor-availability-card {
    border: 1px solid #e5ebf3;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow: hidden;
}

.doctor-availability-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-bottom: 1px solid #edf2f7;
}

.doctor-availability-profile {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.doctor-availability-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    background: linear-gradient(135deg, #d8ecfb 0%, #eff7ff 100%);
    color: #3178b8;
    font-size: 24px;
    font-weight: 800;
}

.doctor-availability-profile h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: #24344f;
}

.doctor-availability-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.doctor-availability-times {
    display: grid;
}

.time-slot-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 18px;
    padding: 20px 24px;
    border-top: 1px solid #edf2f7;
}

.time-slot-row:first-child {
    border-top: 0;
}

.time-slot-summary {
    display: grid;
    gap: 6px;
    align-content: start;
}

.time-slot-date {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6d87a2;
}

.time-slot-window {
    font-size: 24px;
    font-weight: 800;
    color: #24344f;
}

.time-slot-details {
    color: #607286;
    line-height: 1.6;
}

.time-slot-booking {
    display: flex;
    justify-content: flex-end;
}

.time-slot-form {
    width: 100%;
    max-width: 420px;
    display: grid;
    gap: 10px;
}

.time-slot-form .btn {
    justify-self: end;
}

.selected-doctor-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #dce8f3;
    border-radius: 16px;
    background: #f8fbff;
}

.selected-doctor-label {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6d87a2;
}

.weekday-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.weekday-choice {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8e2ee;
    border-radius: 12px;
    background: #f8fbff;
    color: #42566f;
    font-weight: 600;
}

.weekday-choice input[type="checkbox"] {
    margin: 0;
}

.settings-note,
.inline-help,
.table-subtext {
    color: #6b7d92;
}

.transaction-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .transaction-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .transaction-summary {
        grid-template-columns: 1fr;
    }
}

.mini-stat {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 16px;
    padding: 16px 18px;
}

.mini-stat-label {
    color: #6b7d92;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.mini-stat-value {
    color: #24344f;
    font-size: 28px;
    font-weight: 800;
}

.status-awaiting_fee,
.status-pending,
.status-requested {
    background: #fff4d9;
    color: #a77200;
}

.status-paid,
.status-confirmed,
.status-replied {
    background: #e2f3ea;
    color: #1f8f55;
}

.status-waived,
.status-read {
    background: #e8eef7;
    color: #50627a;
}

.status-cancelled,
.status-refunded,
.status-archived {
    background: #fdeaea;
    color: #be4d4d;
}

.status-completed {
    background: #e6f4ff;
    color: #1d72b8;
}

.file-input-help {
    font-size: 13px;
    color: #6b7d92;
    margin-top: 6px;
}

/* ---------------- CONTACT ENQUIRY CRUD ---------------- */

.contact-overview-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.contact-overview-card,
.contact-highlight-card {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(28, 42, 64, 0.05);
}

.contact-overview-card.primary {
    background: linear-gradient(135deg, #4c88c7 0%, #6bb8e6 100%);
    border-color: transparent;
    color: #fff;
}

.contact-overview-label,
.highlight-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #71839a;
}

.contact-overview-card.primary .contact-overview-label {
    color: rgba(255, 255, 255, 0.82);
}

.contact-overview-value,
.highlight-value {
    display: block;
    margin-top: 14px;
    font-size: 34px;
    line-height: 1.1;
    color: #24344f;
}

.contact-overview-card.primary .contact-overview-value {
    color: #fff;
}

.contact-overview-note,
.highlight-copy {
    margin: 12px 0 0;
    color: #667a92;
    line-height: 1.7;
}

.contact-overview-card.primary .contact-overview-note {
    color: rgba(255, 255, 255, 0.88);
}

.contact-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.table-avatar-stack {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.table-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #e7f3fc;
    color: #2f79b5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.table-primary-text {
    color: #24344f;
    font-weight: 700;
}

.table-secondary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    color: #728399;
    font-size: 13px;
}

.mail-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef2f7;
    color: #55657b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.mail-status-chip.sent {
    background: #e4f5ea;
    color: #1f8f55;
}

.contact-detail-layout {
    margin-bottom: 18px;
}

.detail-stack {
    display: grid;
    gap: 16px;
}

.original-message-block {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #e5ebf3;
}

.original-message-title {
    margin: 0 0 12px;
    color: #24344f;
    font-size: 15px;
    font-weight: 700;
}

.original-message-copy {
    background: #f8fbff;
    border: 1px solid #e4ebf4;
    border-radius: 16px;
    padding: 18px;
    color: #4a5c73;
    line-height: 1.8;
}

.reply-preview {
    background: #f8fbff;
    border: 1px solid #e4ebf4;
    border-radius: 16px;
    padding: 18px;
    color: #4a5c73;
}

.reply-preview strong {
    color: #24344f;
}

.action-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.reply-primary-actions {
    margin-top: 14px;
}

.reply-secondary-actions {
    margin-top: 0;
}

.info-callout {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid #d8e8f5;
    background: linear-gradient(180deg, #f8fcff 0%, #eef6fe 100%);
    color: #516379;
    line-height: 1.7;
}

.info-callout strong {
    color: #24344f;
}

.meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid #e4ebf4;
}

.meta-row:first-child {
    border-top: none;
    padding-top: 0;
}

.meta-row:last-child {
    padding-bottom: 0;
}

@media (max-width: 1400px) {
    .contact-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .contact-overview-grid,
    .contact-highlight-grid {
        grid-template-columns: 1fr;
    }

    .table-secondary-row,
    .action-stack {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-list {
        grid-template-columns: 1fr;
    }
}

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.field-label-row label {
    margin-bottom: 0;
}

.field-helper-text {
    color: #6b7d92;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 8px;
}

.field-picker-btn {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    line-height: 1.2;
    font-weight: 600;
}

.gp-row-current {
    background: #f3fbff;
}

.gp-row-current td {
    background: transparent;
}

.picker-row-current {
    background: #f3fbff;
}

.picker-row-current td {
    background: transparent;
}

@media (max-width: 900px) {
    .weekday-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doctor-availability-head,
    .time-slot-row {
        grid-template-columns: 1fr;
    }

    .doctor-availability-head {
        padding: 20px;
    }

    .time-slot-row {
        padding: 18px 20px;
    }

    .doctor-availability-badges,
    .time-slot-booking {
        justify-content: flex-start;
    }

    .time-slot-form {
        max-width: none;
    }

    .time-slot-form .btn {
        justify-self: stretch;
    }

    .selected-doctor-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .field-label-row {
        flex-direction: column;
        align-items: stretch;
    }

    .field-picker-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .weekday-choice-grid {
        grid-template-columns: 1fr;
    }

    .doctor-availability-profile {
        flex-direction: column;
    }
}

/* ---------------- MULTI-DEVICE ADAPTATION ---------------- */

:root {
    --rc-mobile-nav-height: 82px;
    --rc-sidebar-width: min(86vw, 320px);
}

.main-wrapper,
.main-content {
    min-width: 0;
}

.site-header .site-shell-wide {
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
}

.site-header .navbar-brand {
    margin-right: 18px;
    margin-bottom: 0;
    flex: 0 0 auto;
}

.site-header .navbar-toggler {
    margin-left: auto;
    border: 1px solid #d7e2ee;
    border-radius: 14px;
    padding: 0.48rem 0.7rem;
}

.site-header .navbar-collapse {
    min-width: 0;
    width: auto;
    flex: 1 1 auto;
    flex-basis: 100%;
}

.site-header .navbar-nav {
    flex-wrap: nowrap;
}

.site-header .navbar-collapse.show,
.site-header .navbar-collapse.collapsing,
.site-header .navbar-collapse.is-open {
    padding-top: 14px;
}

.portal-body {
    background: #eef3f9;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(14, 24, 38, 0.44);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.sidebar-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.sidebar-brand-row .brand {
    flex: 1;
    margin-bottom: 0;
}

.sidebar-close {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 42px;
}

.portal-bottom-nav {
    display: none;
}

.portal-bottom-link {
    border: none;
    background: transparent;
}

.topbar-left,
.topbar-right {
    min-width: 0;
}

.list-row,
.status-row {
    min-width: 0;
}

.list-content,
.table-subtext,
.message-bubble,
.message-bubble p,
.message-subject,
.mailbox-content,
.mailbox-title-row {
    min-width: 0;
    overflow-wrap: anywhere;
}

.mailbox-thread {
    min-height: 0;
}

@media (min-width: 992px) {
    .site-header .navbar-collapse {
        flex-basis: auto;
    }

    .site-header .navbar-toggler {
        display: none;
    }
}

@media (max-width: 991px) {
    .site-shell-wide {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-header .site-shell-wide {
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-header .site-shell-wide > .navbar-brand {
        margin-bottom: 0;
    }

    .site-header .navbar-collapse {
        width: 100%;
        order: 3;
        flex-basis: 100%;
    }

    .site-header .navbar-collapse:not(.show):not(.is-open) {
        display: none;
    }

    .site-header .navbar-collapse.show,
    .site-header .navbar-collapse.is-open,
    .site-header .navbar-collapse.collapsing {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-top: 8px;
    }

    .site-header-main {
        margin-top: 0;
    }

    .site-header .navbar-nav {
        width: 100%;
    }

    .site-header .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        order: 2;
    }

    .site-header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        margin-top: 0;
    }

    .site-header-actions .btn {
        width: 100%;
    }

    .site-hero {
        padding: 42px 0 30px;
    }

    .site-section {
        padding: 48px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-copy,
    .section-heading p {
        font-size: 16px;
    }

    .hero-image-card img {
        min-height: 240px;
    }

    .feature-card,
    .value-card,
    .contact-card,
    .success-card {
        padding: 22px;
        border-radius: 18px;
    }

    .cta-strip {
        padding: 34px 0;
    }

    .cta-strip h2 {
        font-size: 28px;
    }

    .auth-wrapper {
        padding: 22px 16px;
    }

    .login-card,
    .login-side {
        padding: 34px 24px;
    }

    .login-side {
        order: -1;
        min-height: auto;
    }

    .login-brand h1 {
        font-size: 30px;
    }
}

@media (max-width: 900px) {
    .toolbar-search {
        flex: none;
        width: 100%;
    }

    .toolbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .main-content {
        padding: 16px 16px calc(var(--rc-mobile-nav-height) + 34px);
    }

    .topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        position: sticky;
        top: 0;
        z-index: 120;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
    }

    .topbar-left.topbar-cluster {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }

    .topbar-left.topbar-cluster > div {
        min-width: 0;
        padding-top: 2px;
    }

    .topbar-right.topbar-cluster {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 12px;
        align-self: start;
    }

    .topbar-right.topbar-cluster .icon-circle,
    .topbar-right.topbar-cluster .topbar-avatar-link,
    .topbar-right.topbar-cluster .profile-chip {
        flex: 0 0 auto;
    }

    .sidebar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .topbar-search {
        display: none;
    }

    .topbar-logout {
        display: none !important;
    }

    .sidebar,
    .portal-sidebar {
        width: var(--rc-sidebar-width);
        max-width: var(--rc-sidebar-width);
        padding: 20px 16px 28px;
        overflow-y: auto;
        box-shadow: 0 24px 56px rgba(16, 28, 45, 0.26);
    }

    .sidebar-close {
        display: inline-flex;
    }

    .page-head,
    .panel,
    .stat-card,
    .mini-stat,
    .contact-overview-card,
    .contact-highlight-card {
        border-radius: 18px;
        box-shadow: 0 14px 34px rgba(31, 53, 79, 0.06);
    }

    .page-head {
        padding: 22px 20px;
    }

    .page-head h1 {
        font-size: 24px;
    }

    .page-head p {
        font-size: 15px;
        line-height: 1.7;
    }

    .stat-grid,
    .summary-grid,
    .contact-overview-grid,
    .contact-highlight-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: auto;
        gap: 14px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 17px;
    }

    .dashboard-link-btn {
        width: 100%;
        min-height: 44px;
    }

    .health-log-schedule-head,
    .health-log-reminder {
        align-items: stretch;
        flex-direction: column;
    }

    .health-log-primary-link,
    .health-log-reminder .btn {
        width: 100%;
        text-align: center;
    }

    .appointment-reminder-content {
        align-items: stretch;
        flex-direction: column;
    }

    .appointment-reminder-content .btn {
        width: 100%;
        text-align: center;
    }

    .list-row,
    .status-row,
    .doctor-availability-head,
    .selected-doctor-summary {
        flex-wrap: wrap;
    }

    .list-time {
        width: 100%;
        white-space: normal;
    }

    .tab-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .tab-row::-webkit-scrollbar {
        display: none;
    }

    .tab-pill {
        white-space: nowrap;
    }

    .mailbox-sidebar-panel,
    .mailbox-thread-panel,
    .mailbox-compose-panel {
        min-height: auto;
    }

    .mailbox-compose-form textarea.form-control {
        min-height: 180px;
    }

    .message-bubble {
        padding: 14px 16px;
    }

    .table-responsive {
        overflow: visible;
    }

    .table-responsive .responsive-table,
    .table-responsive .responsive-table thead,
    .table-responsive .responsive-table tbody,
    .table-responsive .responsive-table tr,
    .table-responsive .responsive-table th,
    .table-responsive .responsive-table td {
        display: block;
        width: 100%;
    }

    .table-responsive .responsive-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .table-responsive .responsive-table tbody {
        display: grid;
        gap: 14px;
    }

    .table-responsive .responsive-table tr {
        border: 1px solid #e4ebf4;
        border-radius: 18px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: 0 12px 30px rgba(31, 53, 79, 0.06);
        overflow: hidden;
    }

    .table-responsive .responsive-table td {
        display: grid;
        grid-template-columns: minmax(104px, 38%) minmax(0, 1fr);
        gap: 12px;
        align-items: flex-start;
        padding: 12px 16px;
        border-top: 1px solid #eef3f9;
        white-space: normal;
        text-align: left;
    }

    .table-responsive .responsive-table td:first-child {
        border-top: 0;
    }

    .table-responsive .responsive-table td::before {
        content: attr(data-label);
        display: block;
        padding-top: 4px;
        color: #6d81a0;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .table-responsive .responsive-table td[data-label="Actions"] {
        grid-template-columns: 1fr;
    }

    .table-responsive .responsive-table td[data-label="Actions"]::before {
        margin-bottom: 2px;
    }

    .portal-bottom-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 995;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
        padding: 4px;
        border: 1px solid rgba(228, 235, 244, 0.92);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 40px rgba(17, 28, 45, 0.16);
        backdrop-filter: blur(12px);
    }

    .portal-bottom-link {
        min-width: 0;
        min-height: calc(var(--rc-mobile-nav-height) - 8px);
        border-radius: 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 4px 12px;
        color: #607286;
        text-decoration: none;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.2;
    }

    .portal-bottom-link.active {
        background: linear-gradient(135deg, #e7f4ff 0%, #f2f9ff 100%);
        color: #2b78b5;
    }

    .portal-bottom-icon {
        font-size: 18px;
        line-height: 1;
    }

    .portal-bottom-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .modal-overlay {
        padding: 12px;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 18px;
    }

    .modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .site-shell-wide {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header .navbar-brand {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        margin-right: 0 !important;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .login-page {
        min-height: auto;
        border-radius: 20px;
    }

    .login-card,
    .login-side {
        padding: 24px 18px;
    }

    .login-side-content h2 {
        font-size: 28px;
    }

    .table-responsive .responsive-table td {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .portal-bottom-nav {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }
}

.app-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.app-pagination-summary {
    color: #5f6f86;
    font-size: 14px;
}

.app-pagination-nav {
    margin-left: auto;
}

.app-pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.app-pagination-item {
    display: flex;
}

.app-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d7deea;
    border-radius: 12px;
    background: #fff;
    color: #23415f;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.app-pagination-item.active .app-pagination-link {
    background: #0f6c7b;
    border-color: #0f6c7b;
    color: #fff;
}

.app-pagination-item:not(.active):not(.disabled) .app-pagination-link:hover {
    border-color: #0f6c7b;
    color: #0f6c7b;
    text-decoration: none;
}

.app-pagination-item.disabled .app-pagination-link {
    color: #9aa7b8;
    background: #f8fafc;
    cursor: not-allowed;
}

.app-pagination-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.app-pagination-jump-label {
    color: #5f6f86;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.app-pagination-jump-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-pagination-jump-input {
    width: 84px;
    height: 40px;
    border: 1px solid #d7deea;
    border-radius: 12px;
    padding: 0 12px;
    color: #23415f;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
}

.app-pagination-jump-input:focus {
    outline: none;
    border-color: #0f6c7b;
    box-shadow: 0 0 0 3px rgba(15, 108, 123, 0.12);
}

.app-pagination-jump-total {
    color: #5f6f86;
    font-size: 14px;
    font-weight: 600;
}

.app-pagination-jump-button {
    height: 40px;
    border: 1px solid #d7deea;
    border-radius: 12px;
    padding: 0 14px;
    background: #fff;
    color: #23415f;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}

.app-pagination-jump-button:hover {
    border-color: #0f6c7b;
    color: #0f6c7b;
}

@media (max-width: 640px) {
    .app-pagination {
        align-items: stretch;
    }

    .app-pagination-nav {
        margin-left: 0;
        width: 100%;
    }

    .app-pagination-jump {
        width: 100%;
        justify-content: space-between;
    }

    .app-pagination-list {
        justify-content: flex-start;
    }
}

/* Content Blocks - Content (Privacy Policy + Terms and Conditions) */

.content-block h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #24344f;
}

.content-block h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #24344f;
}

.content-block h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #24344f;
}

.content-block p,
.content-block li,
.content-block ul {
    color: #64748b;
    font-size: 16px;
}

.content-block img {
    margin-top: 10px;
    margin-bottom: 10px;
}
