* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-main-color: #b31b1b;
}

/* B31B1B */
.aside-menu-container {
    display: none !important;
}

html {
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.header {
    background: linear-gradient(to bottom, #1a1a1a, var(--primary-main-color));
    color: #f4f4f4;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.header h1 {
    font-size: 18px;
    font-weight: normal;
    color: #fff;
}

.header-right {
    font-size: 17px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    min-width: 0;
}

.header-right > a {
    color: #f4f4f4 !important;
    text-decoration: none;
    margin-left: 10px;
    font-size: 16px;
    white-space: nowrap;
}

.att-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
}
.att-btn:hover { opacity: .85; }

.att-btn-checkin  { background: #22c55e; color: #fff; }
.att-btn-break    { background: #f59e0b; color: #fff; }
.att-btn-resume   { background: #3b82f6; color: #fff; }
.att-btn-checkout { background: #ef4444; color: #fff; }
.att-btn-done     { background: #6b7280; color: #fff; pointer-events: none; }

.att-time-badge {
    font-size: 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    color: #374151;
    white-space: nowrap;
}

/* ── "Logged in as" text ──────────────────────────────────────── */
.header-right > span:not(.att-btn):not(.att-time-badge) {
    font-size: 16px;
    white-space: nowrap;
    color: #374151;
}

.bell-btn {
    position: relative;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.3rem 0.55rem;
    cursor: pointer;
    flex-shrink: 0;
}
.bell-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #fff;
    font-size: 16px;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

.notif-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    width: min(340px, 92vw);   /* never wider than viewport */
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 1050;
    display: none;
}
.notif-dropdown.open { display: block; }

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 16px;
    font-weight: 600;
}
.notif-footer {
    padding: 0.5rem 0.85rem;
    border-top: 1px solid #f3f4f6;
    text-align: center;
    font-size: 16px;
}

.text-white{
    color: #fff !important;
}

@media (max-width: 722px) {
    .header {
        padding: 0.4rem 0.75rem;
    }

    .header-logo1 {
        max-height: 50px;
        width: auto !important;
    }

    /* "Logged in as …" text hides on very small screens to save space
       Remove this rule if you always want it visible */
    .header-right > span:not(.att-btn):not(.att-time-badge) {
        display: none;
    }

    .att-btn {
        padding: 0.25rem 0.55rem;
        font-size: 0.75rem;
    }

    .att-time-badge {
        font-size: 0.7rem;
    }
}

.nav-bar {
    background-color: #f4f4f4;
    border-bottom: 2px solid #1a1a1a;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.nav-bar::-webkit-scrollbar {
    height: 4px;
}
.nav-bar::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.nav-bar a {
    color: black !important;
    text-decoration: none;
    margin-right: 15px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
}

.nav-bar a:hover {
    text-decoration: underline;
}

.nav-bar a.active {
    font-weight: bold;
    background-color: var(--primary-main-color) !important;
    color: white !important;
    border-radius: 4px;
    padding: 8px 12px;
}

.page-title {
    background: linear-gradient(to bottom, var(--primary-main-color), #1a1a1a);
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
}

.page-title-arrow::after {
    content: " »";
}

.sub-title {
    background-color: var(--primary-main-color);
    color: white;
    padding: 8px 20px;
    font-size: 18px;
    font-weight: 600;
}

.container {
    display: flex;
    min-height: calc(100vh - 150px);
}

.sidebar {
    background-color: #f4f4f4;
    width: 100% !important;
    padding: 15px !important;
    height: auto !important;
    min-height: 50rem !important;
    max-width: 280px !important;
}

.sidebar h3 {
    background: linear-gradient(to right, #1a1a1a, var(--primary-main-color));
    color: white;
    padding: 5px 10px;
    font-size: 17px;
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    color: var(--primary-main-color);
    text-decoration: none;
    padding: 5px 10px;
    font-size: 17px;
    margin-bottom: 5px;
}

.sidebar a:hover {
    background-color: var(--primary-main-color);
    color: #f4f4f4 !important;
}

.main-content {
    flex: 1;
    background-color: white;
    padding: 20px;
}

.success-message {
    color: green;
    font-size: 13px;
    margin-bottom: 15px;
}

.search-section {
    border: 2px solid #4a6b8a;
    padding: 20px;
}

.search-header {
    background-color: #2d4a64;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
}

.form-grid {
    display: grid;
    grid-template-columns: 150px 1fr 150px 1fr;
    gap: 12px;
    align-items: center;
}

.form-input {
    padding: 4px 8px;
    font-size: 17px;
}

.form-input:focus {
    outline: 2px solid #4a6b8a;
}

select.form-input {
    padding: 3px 6px;
}

.age-inputs {
    display: flex;
    gap: 5px;
    align-items: center;
}

.age-inputs input {
    width: 80px;
}

.checkbox-row {
    display: flex;
    align-items: center;
}

.checkbox-row input {
    margin-right: 5px;
}

.button-row {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.btn {
    padding: 6px 15px;
    border: 1px solid #999;
    background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
    cursor: pointer;
    font-size: 13px;
}

.btn:hover {
    background: linear-gradient(to bottom, #e8e8e8, #d0d0d0);
}

.btn-primary {
    background: linear-gradient(to bottom, var(--primary-main-color), #1a1a1a);
    color: #f4f4f4 !important;
    border: 1px solid #2d4a64;
}

.btn-primary:hover {
    background: linear-gradient(
        to bottom,
        var(--primary-main-color),
        var(--primary-main-color)
    );
}

.results-section {
    margin-top: 30px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table th,
.table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.table th {
    background: #f7f7f7;
    text-align: left;
}

.pagination-wrapper {
    margin-top: 15px;
}

/* --- Section 09zcxg --- */
.member-search-section {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
    padding: 20px;
}

/* Success Message */
.success-msg {
    color: #008fff;
    font-weight: 400;
    font-size: 14px;
}

/* Container Styling */
.search-container {
    padding-bottom: 20px;
    width: 100%;
}

/* Header */
.search-header {
    background-color: transparent;
    /* The design shows a tab-like or block header on the left */
    width: 100%;
    border-bottom: 1px solid #dcdcdc;
}

.search-title {
    background-color: #1a1a1a;
    color: white;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin: 18px 7px;
    padding: 5px 15px;
    text-transform: capitalize;
}

.search-body {
    padding: 10px 20px;
    width: 100%;
}

.search-body {transition: max-height 0.3s ease;max-height: 2000px;overflow: hidden;}
.search-body.collapsed { max-height: 0; padding: 0 16px; }

/* Labels */
.col-form-label {
    font-size: 17px !important;
    font-weight: 400;
    text-align: left;
    /* In classic designs, labels often align left even in grid */
}

/* Inputs */
.form-control-sm {
    border-radius: 2px;
    border: 1px solid #a9a9a9;
    height: 28px;
    padding: 2px 8px;
    font-size: 13px;
}

/* Age Input Specifics */
.age-input {
    width: 60px;
    display: inline-block;
}

/* Spacing */
.form-group {
    margin-bottom: 8px;
    /* Dense layout */
}

/* Checkbox Styling */
.checkbox-custom {
    margin-top: 8px;
    /* Align with label text vertically */
}

/* Footer Actions */
.search-btn {
    border: 1px solid #888;
    background-color: #f0f0f0;
    color: #fff;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 2px;
}

.search-btn:hover {
    background-color: #e0e0e0;
}

.clear-filter-link {
    color: #002b55;
    font-size: 13px;
    text-decoration: none;
}

.clear-filter-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .col-lg-6:first-child {
        padding-right: 40px;
    }
}

/* --- Section npjtrr --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

body {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
}

.patient-list-container {
    padding: 20px 0;
    background: #fff;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
}

.table-custom td {
    padding: 16px 8px;
    vertical-align: top;
    font-size: 17px;
    color: #212529;
    border-top: 1px solid #e9ecef;
    line-height: 1.4;
}

.table-custom tr:first-child td {
    border-top: none;
}

.last-name-link {
    color: #3f6ad8;
    text-decoration: none;
    font-weight: 500;
}

.last-name-link:hover {
    text-decoration: underline;
    color: #2948b8;
}

.address-col {
    min-width: 160px;
    max-width: 200px;
}

.insurance-col {
    min-width: 150px;
    max-width: 180px;
}

.date-highlight {
    color: #3f6ad8;
    font-weight: 700;
    white-space: nowrap;
}

.text-nowrap {
    white-space: nowrap;
}

/* Ensure table responsiveness works smoothly */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- Section kw1fau --- */
.font-poppins {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
    padding: 20px;
}

.info-row {
    border-bottom: 1px solid #f2f2f2;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-left: 0;
    margin-right: 0;
}

.info-label {
    color: #000;
    font-size: 17px;
    font-weight: 400;
    padding-left: 0;
    display: flex;
    align-items: flex-start;
}

.info-value {
    color: #000;
    font-weight: 600;
    padding-right: 0;
}

.email-link {
    color: #2e5c8b;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

.icon-plus {
    color: #b0b0b0;
    font-size: 14px;
    margin-left: 6px;
    cursor: pointer;
    margin-top: 3px;
}

.icon-edit {
    color: #9baec2;
    font-size: 16px;
    margin-right: 5px;
    cursor: pointer;
    float: left;
    padding-top: 2px;
}

.item-block {
    position: relative;
    padding-left: 24px;
}

.item-block .icon-edit {
    position: absolute;
    left: 0;
    top: 0;
}

/* Subtle adjustments for exact match */
.info-value p {
    line-height: 1.4;
}

@media (max-width: 768px) {
    .col-lg-6.pr-lg-5,
    .col-lg-6.pl-lg-5 {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
}

/* --- Section vwb5fp --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

.patient-record-section {
    font-family: "Poppins", sans-serif;
    background-color: #fff;
    padding: 20px;
    color: #333;
}

.info-row {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f4f4f4;
}

.info-value {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

/* Links and Actions */
.action-link {
    color: #0044cc;
    text-decoration: underline;
    font-size: 14px;
}

.text-red {
    color: red !important;
    font-weight: 700;
}

.text-blue {
    color: #0026e6;
    font-weight: 700;
}

.text-dark-blue {
    color: #1a3c5e;
    font-weight: 700;
}

/* Right Column specific headers */
.section-label {
    color: #8c7f76;
    font-size: 14px;
}

.section-header {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.section-divider {
    margin-top: 30px;
    margin-bottom: 30px;
    border-top: 1px solid #dcdcdc;
}

/* Icons (Pure CSS shapes/SVG replacement style) */
.icon-edit,
.icon-plus {
    display: inline-block;
    text-decoration: none;
    vertical-align: middle;
}

.icon-plus::before {
    content: "+";
    font-weight: bold;
    font-size: 18px;
    color: #99aebb;
    line-height: 14px;
}

.icon-edit {
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2FFF/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'%3E%3C/path%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

/* Custom Spacing adjustments */
.info-value br {
    margin-bottom: 2px;
}

/* --- Section 5myrjk --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

.patient-record-section {
    font-family: "Poppins", sans-serif;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

.text-navy {
    color: #002e5b;
}

.text-muted {
    color: var(--primary-main-color) !important;
}

/* my */

.border-bottom-light {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.section-divider {
    border-top: 1px solid #ddd;
}

.edit-link {
    color: #444;
    text-decoration: underline;
    font-size: 13px;
}

/* Detail Rows Layout */
.detail-row {
    border-bottom: 1px solid #f2f2f2;
    padding: 8px 0;
    align-items: baseline;
}

.detail-row:last-child {
    border-bottom: none;
}

.label-col {
    width: 35%;
    flex-shrink: 0;
    font-weight: 400;
}

.value-col {
    flex-grow: 1;
    color: #002e5b;
}

.label-col-date {
    width: 50%;
    flex-shrink: 0;
    font-weight: 400;
}

.value-col-date {
    flex-grow: 1;
    text-align: left;
}

.text-primary {
    color: var(--primary-main-color) !important;
}

.diagnosis-list {
    padding-left: 29px;
}

.fa-edit {
    color: var(--primary-main-color) !important;
    font-size: 14px;
    opacity: 0.6;
    cursor: pointer;
}

.fa-edit:hover {
    opacity: 1;
    color: var(--primary-main-color) !important;
}

.fa-download {
    color: var(--primary-main-color) !important;
    font-size: 14px;
    opacity: 0.6;
    cursor: pointer;
}

.fa-download:hover {
    opacity: 1;
    color: var(--primary-main-color) !important;
}

.fa-search {
    color: var(--primary-main-color) !important;
    font-size: 14px;
    opacity: 0.6;
    cursor: pointer;
}

.fa-search:hover {
    opacity: 1;
    color: var(--primary-main-color) !important;
}

/* --- Section xmnf9 --- */
/* Poppins Font Import assumed to be in <head> or handled globally */
body {
    font-family: "Poppins", sans-serif;
    color: #333;
    background-color: #fff;
}

.medical-records-container {
    background: #fff;
}

/* Section Headers */
.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}

.action-icon {
    color: #aebcc8;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    opacity: 0.8;
}

.action-icon:hover {
    color: #5a7d9a;
}

.no-records,
.info-text {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

/* Custom Table Styling */
.custom-table {
    font-size: 12px;
    border: 1px solid #dee2e6;
}

.custom-table thead th {
    background: linear-gradient(to bottom, #f2f6fa 0%, #e6ebf1 100%);
    border-bottom: 1px solid #d1d9e2;
    color: #666;
    font-weight: 500;
    padding: 8px 10px;
    white-space: nowrap;
    vertical-align: middle;
}

.custom-table tbody td {
    padding: 8px 10px;
    vertical-align: top;
    color: #fff;
}

.custom-table tbody tr:hover {
    background-color: #f9fbfd;
}

/* Phone Cell Specifics */
.phone-cell div {
    white-space: nowrap;
    line-height: 1.4;
}

.phone-cell strong {
    display: inline-block;
    width: 15px;
    font-weight: 800;
}

/* Address Cell Specifics */
.address-cell div {
    line-height: 1.3;
}

/* Action Icons in Table */
.action-cell {
    min-width: 60px;
    white-space: nowrap;
}

.action-cell a {
    color: #8da6b8;
    text-decoration: none;
    font-size: 14px;
}

.action-cell a:hover {
    color: #4a6b8a;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .custom-table {
        font-size: 11px;
    }
}

/* --- Section eyhmis --- */
body {
    font-family: "Poppins", sans-serif;
    background-color: #fff;
}

.profile-view-section {
    padding: 20px;
    background-color: #fff;
}

.info-row {
    border-bottom: 1px solid #f2f2f2;
    padding-top: 8px;
    padding-bottom: 8px;
}

.label-col {
    color: #9c8c74;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}

.value-col {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
}

.email-link {
    color: #1a0dab;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

.action-icon {
    color: #aebfd1;
    font-size: 12px;
    margin-left: 4px;
    cursor: pointer;
    vertical-align: middle;
}

.edit-icon {
    color: #aebfd1;
    font-size: 14px;
    margin-right: 4px;
    cursor: pointer;
}

.icon-img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: text-bottom;
    display: inline-block;
}

/* Adjustments for nested items in Addresses/Phones */
.value-col strong {
    font-weight: 700;
}

@media (max-width: 768px) {
    .label-col {
        margin-bottom: 4px;
    }

    .info-row {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

/* --- Section qkmnev --- */
body {
    font-family: "Poppins", sans-serif;
    background-color: #fff;
}

.profile-form-section {
    padding: 20px;
}

.field-row {
    border-bottom: 1px solid #f8f8f8;
    margin-bottom: 8px !important;
    padding-bottom: 8px;
}

.field-row label {
    color: #a06b64;
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.textarea {
    width: 300px;
    height: 90p;
}

.form-control-sm,
.custom-select-sm {
    border-radius: 2px;
    border: 1px solid #ccc;
    font-size: 13px;
    color: #333;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    height: calc(1.5em + 0.5rem + 2px);
}

textarea.form-control-sm {
    height: auto;
}

/* Adjust textarea vertical alignment to match label properly */
textarea.form-control-sm + label {
    align-self: flex-start;
    margin-top: 5px;
}

/* Remove focus glow for a more classic enterprise look or keep it subtle */

/* Specific adjustment for right column widths to match screenshot */
@media (min-width: 768px) {
    .col-lg-6:nth-child(2) .col-sm-6 {
        max-width: 50%;
        /* Make inputs on right slightly shorter visually */
    }
}

/* --- Section tg4g4 --- */
/* General Font & Structure */
body {
    font-family: "Poppins", sans-serif;
    background-color: #fff;
}

.address-details-section {
    padding: 20px;
    max-width: 900px;
}

.info-row {
    border-bottom: 1px solid #f2f2f2;
    padding: 8px 0;
    min-height: 40px;
}

.label-text {
    color: #8c7e7e;
    /* Matches the brownish-grey label color */
    font-size: 14px;
    font-weight: 400;
}

.value-text {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

/* Input Field */
.custom-input {
    border: 1px solid #fff;
    padding: 2px 5px;
    width: 160px;
    height: 26px;
    font-size: 14px;
    outline: none;
}

/* Custom Datepicker Visual Match */
.custom-datepicker {
    position: absolute;
    top: 32px;
    left: 15px;
    width: 220px;
    background: #fff;
    border: 1px solid #a6c9e2;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: "Poppins", sans-serif;
    z-index: 100;
    display: block;
}

.dp-header {
    background: linear-gradient(to bottom, #9bc0e5 0%, #7aa6cf 100%);
    padding: 6px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    border-radius: 3px 3px 0 0;
    position: relative;
    font-size: 13px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.dp-prev,
.dp-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.dp-prev {
    left: 8px;
}

.dp-next {
    right: 8px;
}

.dp-prev i,
.dp-next i {
    /* Using pseudo elements for arrows if FontAwesome not present, but using FA classes as placeholders */
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
}

.dp-prev i {
    transform: rotate(135deg);
    margin-left: 2px;
}

.dp-next i {
    transform: rotate(-45deg);
    margin-right: 2px;
}

.dp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fcfdfd;
}

.dp-table th {
    font-size: 11px;
    color: #444;
    font-weight: 500;
    padding: 6px 0;
    text-align: center;
}

.dp-table td {
    text-align: center;
    padding: 4px;
    font-size: 12px;
    color: var(--primary-main-color);
    cursor: pointer;
}

.dp-day:hover {
    background: #e6f2fa;
}

.dp-day.selected {
    background-color: #fbec88;
    border: 1px solid #fad42e;
    color: #363636;
    border-radius: 2px;
}

/* Button */
.btn-update {
    background-color: #e6e6e6;
    border: 1px solid #adadad;
    color: #333;
    padding: 2px 10px;
    font-size: 16px !important;
    cursor: pointer;
    border-radius: 2px;
    margin-top: 10px;
}

.btn-update:hover {
    background-color: #d4d4d4;
}

.show-label {
    font-size: 13px;
    color: #333;
    margin-top: 15px;
    display: inline-block;
}

.badge-type {
    background-color: var(--primary-main-color);
    color: #f4f4f4;
}

.badge-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
}

.table-contacts {
    font-size: 16px !important;
    margin-bottom: 20px;
}

.table-visits {
    font-size: 16px !important;
    margin-bottom: 20px;
}

.afc-label {
    width: 320px;
    font-size: 16px !important;
    color: #000;
}

.afc-group-label {
    font-weight: normal;
    font-size: 16px !important;
    margin-bottom: 2px;
}

.afc-checkbox-list label {
    display: block;
    font-size: 17px !important;
    margin-bottom: 0;
    line-height: 1.3;
}

.visit-header {
    background-color: var(--primary-main-color);
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #dee2e6;
    margin-bottom: 0;
    font-size: 16px;
}

.afc-top-bar {
    background-color: var(--afc-header-bg);
    height: 28px;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* --- Section n4oqop --- */
/* Import Poppins Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

.funding-source-section {
    font-family: "Poppins", sans-serif;
    color: #333;
    background-color: #fff;
}

.record-count-text {
    font-size: 14px;
    color: #222;
    margin-bottom: 5px;
}

.custom-funding-table {
    border-collapse: collapse;
}

.custom-funding-table thead {
    background: linear-gradient(to bottom, #fcfefe 0%, #e4eff7 100%);
    border-bottom: 1px solid #d1dce5;
}

.custom-funding-table th {
    font-weight: 500;
    color: #555;
    font-size: 13px;
    padding: 8px 12px;
    border-top: none;
    border-bottom: 1px solid #c8d8e6;
    vertical-align: middle;
}

.custom-funding-table td {
    font-size: 13px;
    color: #333;
    padding: 8px 12px;
    vertical-align: middle;
    border-top: 1px solid #e9e9e9;
}

/* Ensure the table border matches screenshot */
.table-responsive.border {
    border-color: #dbe3e8 !important;
}

/* Action Icons */
.action-icons {
    white-space: nowrap;
}

.icon-link {
    color: #8faac2;
    transition: color 0.2s;
    display: inline-block;
    text-decoration: none;
}

.icon-link:hover {
    color: #5d7d9a;
    text-decoration: none;
}

/* Notes Section */
.notes-heading {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: #fff;
}

.notes-text {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
    color: #fff;
    line-height: 1.4;
}

.notes-wrapper p:last-of-type {
    margin-bottom: 8px;
}

.enter-funding-link {
    font-size: 14px;
    color: #4a6c8e;
    text-decoration: none;
}

.enter-funding-link:hover {
    color: #2b4561;
    text-decoration: underline;
}

/* --- Section i8eiqq --- */
/* Main Container & Fonts */
.diagnosis-module {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    overflow: hidden;
}

/* Header Bar */
.header-bar-container {
    border-bottom: 2px solid #002b55;
    background: #fff;
    height: 30px;
    position: relative;
}

.header-title {
    background-color: #002b55;
    color: #fff;
    font-weight: 600;
    padding: 4px 15px;
    display: inline-block;
    height: 100%;
    font-size: 13px;
    line-height: 22px;
}

/* Sections Backgrounds */
.search-section {
    background-color: #f0f6fc;
    padding: 15px 15px 10px;
}

.details-section {
    background-color: #fff;
    padding: 15px;
}

.section-divider {
    border-top: 1px solid #999;
    margin: 0;
}

.form-input {
    flex: 1;
    max-width: 400px;
}

.info-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #4a7faf;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 14px;
    font-size: 10px;
    cursor: help;
    margin-left: 5px;
}

/* Form Layout & Typography */
.form-row {
    /* color: var(--primary-main-color); */
    margin-bottom: 6px;
    align-items: center;
}

.label-col {
    color: var(--primary-main-color);
    /* Brownish Text Color from screenshot */
    font-weight: 500;
    padding-right: 0;
    display: flex;
    align-items: center;
}

.label-col label {
    margin-bottom: 0;
}

.input-short {
    max-width: 200px;
}

/* Custom Inputs Overrides */
.form-control-sm {
    border-radius: 2px;
    border: 1px solid #a9a9a9;
    height: 26px;
    padding: 0 5px;
    font-size: 13px;
}

textarea.form-control-sm {
    height: auto;
}

.custom-checkbox {
    margin-top: 4px;
}

/* Legacy Button Style */
.legacy-btn {
    background: #e1e1e1;
    border: 1px solid #adadad;
    color: #fff;
    padding: 2px 10px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 2px;
    font-family: "Poppins", sans-serif;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.legacy-btn:hover {
    background: #d4d4d4;
    border-color: #8c8c8c;
}

.legacy-btn:active {
    background: #cdcdcd;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Links */
.show-link {
    color: #002b55;
    text-decoration: none;
    font-size: 13px;
}

.show-link:hover {
    text-decoration: underline;
}

/* --- Section mzrsz4 --- */
body {
    font-family: "Poppins", sans-serif;
    background-color: #fcfcfc;
}

.medication-section {
    background: #fff;
    padding: 20px;
}

.medication-table {
    font-size: 13px;
    color: #333;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.medication-table td {
    padding: 8px 12px;
    vertical-align: middle;
    border-top: 1px solid #e9ecef;
    height: 40px;
}

/* Column Widths */
.med-name {
    width: 55%;
    font-weight: 400;
    color: #212529;
}

.med-info {
    width: 25%;
    color: #212529;
}

.med-date {
    width: 12%;
    white-space: nowrap;
    color: #495057;
    text-align: right;
}

.med-actions {
    width: 8%;
    text-align: right;
    white-space: nowrap;
}

/* Icons */
.med-actions i {
    color: #aeb9c2;
    margin-left: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.med-actions i:hover {
    color: #007bff;
}

.med-actions .fa-search {
    transform: rotate(90deg);
    /* Adjust search icon orientation if needed to match styling, strictly standard FA used here */
}

/* Helper for stacked text in middle column */
.line-height-tight {
    line-height: 1.1;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .med-name {
        width: auto;
    }

    .med-info {
        display: none;
        /* Hide complex middle info on mobile for cleaner view */
    }

    .med-date,
    .med-actions {
        width: auto;
    }
}

/* --- Section yekfd8 --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

.care-plan-section {
    font-family: "Poppins", sans-serif;
    background-color: #fff;
    padding: 20px;
}

.care-label {
    color: #a0522d;
    font-weight: 500;
    font-size: 14px;
    padding-right: 0;
    margin-bottom: 0;
    line-height: 1.5;
}

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

.form-control-sm {
    border-radius: 2px;
    border: 1px solid #ced4da;
    font-size: 14px;
    padding: 4px 8px;
    height: auto;
}

.custom-select-width {
    max-width: 280px;
    width: 100%;
}

.custom-input-width {
    max-width: 250px;
    width: 100%;
}

.na-text {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
}

.na-checkbox {
    margin-top: 2px;
}

input[type="file"] {
    font-size: 17px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .care-label {
        margin-bottom: 5px;
    }

    .custom-select-width,
    .custom-input-width {
        max-width: 100%;
    }
}

/* --- Section 01mlk4 --- */
body {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
}

.records-section {
    padding: 20px;
}

.section-title {
    font-weight: 500;
    color: #333;
}

.records-table {
    border: 1px solid #dee2e6;
    margin-bottom: 0;
}

.records-table thead th {
    background: linear-gradient(to bottom, #eff3f6, #e6ebf0);
    color: #666;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid #c8ced3;
    border-top: none;
    vertical-align: middle;
    white-space: nowrap;
    padding: 12px 10px;
}

.records-table tbody td {
    font-size: 14px;
    color: #333;
    vertical-align: middle;
    padding: 10px 10px;
    border-bottom: 1px solid #e9ecef;
}

.records-table tbody tr:hover {
    background-color: #f8f9fa;
}

.action-icons i {
    font-size: 16px;
    margin-left: 6px;
    margin-right: 2px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.action-icons i:hover {
    opacity: 0.7;
}

.text-info {
    color: #5bc0de !important;
}

.text-danger {
    color: #d9534f !important;
}

.text-secondary {
    color: #aeb6bf !important;
}

/* Ensure table doesn't look too cramped on small screens */
@media (max-width: 991px) {
    .records-table thead th,
    .records-table tbody td {
        font-size: 12px;
        padding: 8px 6px;
    }
}

/* --- Section 0152b --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

.font-poppins {
    font-family: "Poppins", sans-serif;
}

.custom-table {
    font-size: 14px;
    color: #212529;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
}

.custom-table thead th {
    background: linear-gradient(to bottom, #f8fafc 0%, #e9ecef 100%);
    color: #6c757d;
    font-weight: 500;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
    padding: 12px;
}

.custom-table td {
    vertical-align: top;
    padding: 12px;
    border-color: #dee2e6;
}

.caregiver-link {
    color: #3f6ad8;
    font-weight: 500;
    text-decoration: none;
}

.caregiver-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

.action-icon {
    color: #adb5bd;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.action-icon:hover {
    color: #6c757d;
}

.text-primary {
    color: #3f6ad8 !important;
}

/* Ensure headers wrap nicely on smaller screens but keep structure */
@media (max-width: 992px) {
    .custom-table {
        min-width: 900px;
    }
}

/* --- Section imxixo --- */
.font-poppins {
    font-family: "Poppins", sans-serif;
    color: #333;
}

.evaluation-form .form-row {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f4f4f4;
}

.custom-label {
    color: #9e6358;
    /* Brownish-red tone from screenshot */
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control-sm {
    border-radius: 2px;
    border: 1px solid #ccc;
    color: #333;
    font-size: 0.9rem;
}

.form-control-file {
    font-size: 0.9rem;
}

.instruction-block {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.instruction-block ol {
    list-style-position: inside;
    margin-top: 2px;
}

.toggle-hint {
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 15px;
}

.section-title {
    color: var(--primary-main-color);
    /* Dark blue */
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.1rem;
    user-select: none;
}

.section-title:hover {
    opacity: 0.8;
}

.text-secondary {
    color: #666 !important;
    font-weight: 400;
    font-size: 0.95rem;
}

/* Adjust textarea size */
textarea.form-control-sm {
    min-height: 100px;
}

/* --- Section usiptl --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

.custom-form-section {
    font-family: "Poppins", sans-serif;
    padding: 20px;
    background-color: #fff;
}

.form-row {
    border-bottom: 1px solid #f0f0f0;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: flex-start;
}

.field-label {
    /* color: var(--primary-main-color); */
    /* SaddleBrown/Dark Red tone from screenshot */
    font-size: 17px;
    margin-bottom: 0;
    padding-top: 5px;
    /* Align with input text */
    font-weight: 400;
}

.custom-input {
    border-radius: 2px;
    border: 1px solid #ccc;
    font-size: 13px;
    color: #fff;
}

.custom-input:focus {
    border-color: var(--primary-main-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

textarea.custom-input {
    resize: both;
}

.section-title {
    font-weight: 700;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.btn-save {
    background-color: #f0f0f0;
    border-color: #999;
    color: #fff;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 2px;
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

.btn-save:hover {
    background-color: #e0e0e0;
}

/* Adjustments to match the compact look of the screenshot */
.form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
}

/* File input styling fix */
.form-control-file {
    font-size: 14px;
}

/* --- Section woa2ha --- */
/* Import Poppins Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
    color: #333;
}

/* Header Styles */
.app-header {
    background: linear-gradient(180deg, #0f4e85 0%, #063257 100%);
    color: white;
    padding: 8px 15px;
    border-bottom: 1px solid #002a4d;
}

.breadcrumb-text {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 300;
}

.page-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

/* Sidebar Styles */
.sidebar-col {
    background-color: #e4eff9;
    min-height: calc(100vh - 55px);
    border-right: 1px solid #d0dbe5;
}

.sidebar-nav {
    padding-top: 10px;
}

.sidebar-nav ul li a {
    display: block;
    padding: 6px 15px;
    font-size: 13px;
    color: #004070;
    text-decoration: none;
    transition: background-color 0.2s;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
    text-decoration: underline;
    background-color: #d6e6f5;
}

/* Content Styles */
.content-col {
    background-color: #ffffff;
    padding: 0;
}

.content-padding {
    padding: 20px;
}

/* Table/Grid Styles matching the screenshot's 'desktop app' look */
.status-table-container {
    max-width: 400px;
}

.status-table {
    margin-bottom: 0;
    border: 1px solid #c0c0c0;
}

.status-table thead th {
    background: linear-gradient(180deg, #f2f2f2 0%, #e0e0e0 100%);
    border-bottom: 1px solid #b0b0b0;
    color: #555;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 10px;
    text-shadow: 0 1px 0 #fff;
}

.status-table td {
    padding: 6px 10px;
    font-size: 13px;
    vertical-align: middle;
}

.status-table .label-cell {
    color: #003366;
    font-weight: 700;
    width: 60%;
}

.status-table .value-cell {
    color: #fff;
    font-weight: 700;
}

/* --- Section qjh6qv --- */
.font-poppins {
    font-family: "Poppins", sans-serif;
}

/* Search Section Styling */
.bg-light-blue {
    background-color: #f0f6fc;
}

.section-badge {
    background-color: #002a5c;
    font-size: 14px;
    border-bottom-right-radius: 2px;
}

.text-dark-blue {
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

.form-control-sm {
    border-radius: 2px;
    border: 1px solid #ccc;
}

.custom-search-btn {
    background: #e6e6e6;
    background: linear-gradient(to bottom, #f0f0f0 0%, #dcdcdc 100%);
    border: 1px solid #999;
    color: #333;
    font-size: 13px;
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.custom-search-btn:hover {
    background: #dcdcdc;
}

.section-divider {
    height: 2px;
    background-color: #002a5c;
    width: 100%;
}

/* Table Styling */
.custom-table {
    font-size: 13px;
    color: #333;
}

.custom-table thead th {
    background: #dfeffc;
    background: linear-gradient(to bottom, #eef7fc 0%, #d6e8f7 100%);
    border-bottom: 1px solid #a6c9e2;
    color: #2e6e9e;
    font-weight: 600;
    padding: 8px 10px;
    white-space: nowrap;
    border-top: none;
}

.custom-table tbody td {
    padding: 6px 10px;
    border-top: 1px solid #e0e0e0;
    vertical-align: middle;
    white-space: nowrap;
    color: #444;
}

.custom-table tbody tr:hover {
    background-color: #fbfdee;
}

/* Checkbox Alignment */
.custom-checkbox {
    margin-top: 5px;
}

.checkbox-wrapper {
    margin-left: 20px;
}

/* --- Section r74zi --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

body {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
    color: #333;
}

.member-search-component .search-header {
    background-color: #002855;
    color: #ffffff;
    border-bottom: 1px solid #001f40;
}

.member-search-component .search-header h5 {
    font-size: 0.95rem;
    font-weight: 600;
}

.member-search-component .search-panel {
    background-color: #f2f7fc;
    font-size: 0.9rem;
    color: #555;
}

.member-search-component .custom-select-box {
    border-radius: 2px;
    border-color: #aaa;
    color: #333;
}

.member-search-component .theme-btn-search {
    background-color: #e0e0e0;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.member-search-component .theme-btn-search:hover {
    background-color: #d0d0d0;
    color: #fff;
}

.member-search-component .separator {
    border-top: 1px solid #002855;
}

/* Table Styling */
.member-search-component .custom-table {
    font-size: 0.85rem;
    background-color: #fff;
}

.member-search-component .custom-table thead th {
    background: linear-gradient(
        to bottom,
        var(--primary-main-color) 0%,
        #dbebfb 100%
    );
    color: #444;
    font-weight: 600;
    border-bottom: 1px solid #b0c4de;
    border-top: none;
    padding: 8px 10px;
    white-space: nowrap;
}

.member-search-component .custom-table tbody td {
    vertical-align: middle;
    border-top: 1px solid #e9ecef;
    color: #333;
    padding: 6px 10px;
}

.member-search-component .custom-table tbody tr:nth-of-type(odd) {
    background-color: #ffffff;
}

.member-search-component .custom-table tbody tr:nth-of-type(even) {
    background-color: #f9fbfd;
}

.member-search-component .review-link {
    color: #0044cc;
    text-decoration: none;
}

.member-search-component .review-link:hover {
    text-decoration: underline;
}

.member-search-component .results-section h4 {
    color: #fff;
    font-size: 1.25rem;
}

/* --- Section d92uux --- */
body {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
    font-size: 13px;
    color: #333;
}

/* Filter Section Styling */
.filter-container {
    border-top: 2px solid #1a3b5c;
    background-color: #f0f6fa;
    position: relative;
}

.filter-header-tab {
    background-color: #1a3b5c;
    color: #fff;
    padding: 4px 15px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    position: absolute;
    top: -26px;
    left: 0;
}

.text-theme {
    color: #555;
    font-weight: 500;
}

.filter-body .form-control-sm {
    border-radius: 2px;
    border: 1px solid #aaa;
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 13px;
}

.btn-search {
    background: #e6e6e6;
    border: 1px solid #ccc;
    font-size: 12px;
    padding: 2px 10px;
    color: #333;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.btn-search:hover {
    background: #d4d4d4;
}

/* Links */
.text-dark-blue {
    color: #1a3b5c;
}

.border-dark-blue {
    border-color: #1a3b5c !important;
}

/* Table Styling */
.custom-table {
    font-size: 12px;
}

.custom-table thead th {
    background: linear-gradient(to bottom, #f2f7fc 0%, #dce9f4 100%);
    border-bottom: 1px solid #aebcc7;
    color: #444;
    font-weight: 500;
    padding: 8px;
    vertical-align: bottom;
}

.custom-table tbody td {
    vertical-align: top;
    padding: 8px;
    color: #333;
    border-color: #dee2e6;
}

.custom-table tbody tr:nth-of-type(odd) {
    background-color: #fff;
}

.custom-table tbody tr:hover {
    background-color: #f9fbfd;
}

/* Icons */
.action-icons i {
    color: #8faec9;
    font-size: 16px;
    cursor: pointer;
}

.action-icons i:hover {
    color: #1a3b5c;
}

/* Specific Typography in Table */
td strong {
    color: #fff;
    font-weight: 700;
}

.text-primary {
    color: #337ab7 !important;
}

/* --- Section eb4rr --- */
/* Import Poppins Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

body {
    font-family: "Poppins", sans-serif;
}

.member-tracking-section {
    background-color: #fff;
}

.member-tracking-table {
    font-size: 14px;
    border-color: #bdd2e8;
}

.member-tracking-table thead th {
    background: linear-gradient(to bottom, #ffffff 0%, #eef2f5 100%);
    color: #6c757d;
    font-weight: 600;
    border-bottom: 1px solid #bdd2e8;
    padding: 8px 12px;
    vertical-align: middle;
}

.member-tracking-table td,
.member-tracking-table th {
    border-color: #dae6f1;
    padding: 6px 12px;
    vertical-align: middle;
}

/* First Column Style: Dark Blue */
.member-tracking-table tbody tr td:first-child {
    color: #0d3c61;
    font-weight: 600;
}

/* Numbers and Frequency: Bold Black */
.member-tracking-table tbody tr td.text-dark {
    font-weight: 700;
    color: #fff !important;
}

/* Hover Effect */
.member-tracking-table tbody tr:hover {
    background-color: #f8fbff;
}

/* Responsive Table Border Color Override */
.table-bordered td,
.table-bordered th {
    border: 1px solid #dae6f1;
}

.main-content-area {
    width: 100%;
}

.main-content {
    flex: 1;
    background-color: white;
    /*! border: 1px solid #ccc; */
}

.member-header {
    background: linear-gradient(to right, #4a7ba7, #6a9bc7);
    color: white;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: bold;
}

.content-area {
    display: flex;
    padding: 20px;
    gap: 30px;
}

.left-column {
    flex: 1;
}

.right-column {
    flex: 1;
}

.field-row {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.field-label {
    width: 140px;
    font-weight: normal;
    padding-right: 10px;
}

.field-value {
    flex: 1;
    color: #333;
}

.field-value.bold {
    font-weight: bold;
}

.section-title {
    color: var(--primary-main-color);
    font-weight: bold;
    margin: 20px 0 10px 0;
    padding-bottom: 3px;
    border-bottom: 1px solid #ccc;
}

.important-notes {
    /*background-color: #fff9e6;*/
    /*border: 1px solid #ffcc00;*/
    margin-top: 15px;
}

.important-notes-title {
    color: var(--primary-main-color);
    margin-bottom: 8px;
}

.notes-content {
    color: #333;
    font-size: 11px;
    line-height: 1.5;
}

.icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 5px;
    background-color: #ddd;
    border-radius: 2px;
}

select {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #999;
    font-size: 11px;
    font-family: Arial, sans-serif;
    background-color: white;
}

.calendar-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #e0e0e0;
    border: 1px solid #999;
    margin-left: 5px;
    text-align: center;
    line-height: 18px;
    cursor: pointer;
    vertical-align: middle;
    font-size: 12px;
}

.date-input-wrapper {
    display: flex;
    align-items: center;
    max-width: 400px;
}

.date-input-wrapper input {
    flex: 1;
}

.calendar-popup {
    position: absolute;
    background-color: white;
    border: 2px solid #4a7ba7;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1FFF;
    margin-top: 2px;
    display: none;
}

.calendar-popup.show {
    display: block;
}

.calendar-header {
    background: linear-gradient(to bottom, #6a9bc7, #4a7ba7);
    color: white;
    padding: 6px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-nav {
    cursor: pointer;
    padding: 0 8px;
    font-size: 14px;
    user-select: none;
}

.calendar-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 30px);
    gap: 1px;
    background-color: #e0e0e0;
    padding: 1px;
}

.calendar-day-header {
    background-color: #f0f0f0;
    text-align: center;
    padding: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #333;
}

.calendar-day {
    background-color: white;
    text-align: center;
    padding: 6px 4px;
    cursor: pointer;
    font-size: 10px;
    min-height: 24px;
}

.calendar-day:hover {
    background-color: #e8f4ff;
}

.calendar-day.other-month {
    color: #999;
}

.calendar-day.today {
    background-color: #ffffcc;
    font-weight: bold;
}

.calendar-day.selected {
    background-color: #4a7ba7;
    color: white;
    font-weight: bold;
}

.calendar-day.weekend {
    background-color: #f9f9f9;
}

.btn.btn-submit.btn-lg {
    background-color: #4a6b8a !important;
}

.form-label {
    font-size: 17px !important;
    /* color: var(--primary-main-color); */
    padding-right: 10px;
    font-weight: bold;
    text-align: left;
}

.save-btn {
    background-color: #f0f0f0;
    border-radius: 4px;
    padding: 1px 3px;
    font-size: 12px;
    /* border-color: #998287; */
    cursor: pointer;
}

.line-white {
    color: var(--primary-main-color);
}

.nav-link.active {
    background: linear-gradient(to right, #1a1a1a, var(--primary-main-color));
    color: #f4f4f4 !important;
    padding: 5px 10px;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Custom Pagination Tab Styling to match image */
.pagination-tabs {
    display: flex;
    padding: 0;
    margin: 0;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}

.pagination-tabs .nav-item {
    border-right: 1px solid #dee2e6;
}

.pagination-tabs .nav-item:last-child {
    border-right: none;
}

.pagination-tabs .nav-link {
    border: none;
    border-radius: 0 !important;
    /* Forces square corners */
    color: #fff;
    padding: 8px 16px;
    background: #fff;
    font-weight: 500;
    transition: none;
}

/* The Blue Active State */
.pagination-tabs .nav-link.active {
    background-color: #b9b9b9 !important;
    /* Matches the blue in your image */
    color: #fff !important;
}

/* Accordion Button Fixes */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-main-color) !important;
    color: white !important;
    box-shadow: none;
}

.accordion-button::after {
    display: none;
}

/* Hide default arrow */

.accordion-button .toggle-icon::before {
    content: "\f056";
    /* FontAwesome Minus */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.accordion-button.collapsed .toggle-icon::before {
    content: "\f055";
    /* FontAwesome Plus */
}

.fs-7 {
    font-size: 0.85rem;
}

.nav-link.arrow-nav {
    background-color: var(--primary-main-color);
    color: #fff;
}

.btn-cyan {
    background-color: var(--primary-main-color);
    border: none;
    padding: 7px;
    color: #fff;
}

.btn-grey {
    background-color: #b9b9b9 !important;
    border-color: var(--primary-main-color);
    padding: 7px;
    color: #fff;
}

.border-grey {
    border: 2px solid #b9bec3;
    padding: 5px;
}

.btn-orange {
    background-color: #f39c12;
    padding: 5px;
    border-color: #fff;
}

.border-blue {
    border: 2px solid var(--primary-main-color);
}

.text-blue {
    color: var(--primary-main-color);
}

#prevTab i {
    color: #fff;
}

#nextTab i {
    color: #fff;
}

.nav-link:focus,
.nav-link:hover {
    background-color: var(--primary-main-color) !important;
    color: #fff !important;
}

.bg-blue {
    background-color: var(--primary-main-color) !important;
}

.btn-update {
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    color: #000 !important;
    padding: 4px 15px;
    font-size: 16px;
    border-radius: 4px;
    margin: 15px;
    cursor: pointer;
}

.nav-pills .nav-link {
    color: var(--primary-main-color);
}

.bold {
    font-weight: bold;
}

.imp-text-area {
    width: 26rem !important;
    border: 1px solid #fff !important;
}

.no_border_bottom {
    border-bottom: none !important;
}

.classic-form-container {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    color: #000;
    width: calc(100% - 20px);
    max-width: 800px;
    margin-top: 10px;
    margin-left: 20px;
    padding: 16px;
}

@media (max-width: 768px) {
    .classic-form-container {
        width: 100%;
        margin-left: 0;
    }

    select.classic-control,
    .classic-control {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.classic-form-table {
    border-top: 1px solid #eee;
}

.classic-form-row {
    display: flex;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
    padding: 4px 0;
}

.classic-label {
    flex: 0 0 170px;
    /* font-weight: bold; */
    /* color: var(--primary-main-color); */
    padding-right: 10px;
}

.classic-input {
    flex-grow: 1;
}

.classic-control {
    border: 1px solid #999;
    padding: 2px;
    border-radius: 0;
}

select.classic-control {
    width: 250px;
    height: 22px;
}

.date-field {
    width: 150px;
    height: 26px;
}

.classic-textarea {
    width: 300px;
    height: 100px;
    resize: both;
}

.no-border {
    border-bottom: none !important;
}

.classic-footer {
    padding: 15px 5px;
}

.classic-save-btn {
    background-color: #f0f0f0;
    border: 1px solid #777;
    padding: 2px 8px;
    cursor: pointer;
    font-size: 13px;
}

.classic-save-btn:hover {
    background-color: #e0e0e0;
}

.classic-toolbar {
    margin-top: 30px;
    margin-left: 300px;
    display: inline-flex;
    border: 1px solid #ccc;
    padding: 2px 5px;
    border-radius: 3px;
    gap: 8px;
    background: #fff;
}

.classic-toolbar .icon {
    font-size: 12px;
    cursor: pointer;
    color: #888;
}

input[type="text"] {
    width: 100%;
    padding: 4px 6px;
    /* border: 1px solid var(--primary-main-color); my */
    font-size: 17px !important;
    font-family: Arial, sans-serif;
}

select {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #999;
    font-size: 16px !important;
    font-family: Arial, sans-serif;
    background-color: white;
}

.patient-page-header {
    background-color: var(--primary-main-color);
    color: #f4f4f4;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #1a1a1a;
    font-size: 17px;
}

.table-page {
    font-size: 12px;
    margin-bottom: 20px;
}

.table-container {
    width: 100%  !important;
    border: 1px solid #ddd;
}

.member-table {
    width: 100%;
    margin-bottom: 0;
}

.member-table thead th,
.member-table tbody td {
    font-size: 12px !important;
    /* word-wrap: break-word;
    overflow-wrap: break-word;     */
    padding: 4px 6px;
}

.member-table thead th {
    background-color: #a52a2a;
    color: white;
}

.member-table tbody td {
    border-top: 1px solid #ddd;
    color: #333;
}

.member-action-td{
    width: 90px !important;
    min-width: 90px !important;
}

.member-dropdown-div{
    margin: 0 0px !important;
}

.table-page thead th {
    background-color: var(--primary-main-color) !important;
    color: #f4f4f4 !important;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
    text-align: center;
}

.caregiver-form-label {
    width: 300px !important;
}

.custom-date-widht {
    width: 135px !important;
}

.afc-box {
    border: 1px solid #ccc;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #fafafa;
}

.afc-section-title {
    font-size: 17px;
    font-weight: bold;
    color: #000;
    margin-top: 10px;
    margin-bottom: 10px;
}

.document-header {
    background-color: var(--primary-main-color);
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #dee2e6;
    margin-bottom: 0;
    font-size: 16px;
}

.table-documents {
    font-size: 16px;
    margin-bottom: 20px;
}

.table-documents thead th {
    background-color: var(--primary-main-color) !important;
    color: #f4f4f4 !important;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
}

.action-link {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

.page-header {
    background-color: var(--primary-main-color) !important;
    color: #fff !important;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #dee2e6;
    font-size: 17px !important;
}

.files-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.media-item {
    display: inline-flex;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 2px 5px;
    position: relative;
    margin-bottom: 5px;
}

.media-preview-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.delete-btn-mini {
    color: red;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    margin-left: 6px;
    border: none;
    background: none;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
}

.file-icon {
    font-size: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #000 !important;
}

.classic-textarea {
    width: 400px;
    height: 80px;
    border: 1px solid #999;
    padding: 4px;
    font-size: 17px;
}

@media (min-width: 768px) {
    .col-md-2 {
        width: 14% !important;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-logo {
    height: 80px;
    /* Adjust based on your logo's proportions */
    width: auto;
    display: block;
}

.table-page {
    font-size: 17px;
    margin-bottom: 20px;
}

.table-page thead th {
    background-color: var(--primary-main-color);
    color: #333;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
    text-align: center;
}

.table-page td {
    vertical-align: middle;
    padding: 8px;
}

.filter-section {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.filter-section .form-label {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 5px;
}

.filter-section .form-control,
.filter-section .form-select {
    font-size: 16px;
    padding: 4px 8px;
}

.btn-filter {
    background-color: var(--primary-main-color);
    color: white;
    border: none;
    padding: 5px 15px;
    font-size: 16px;
    border-radius: 3px;
    margin-top: 22px;
}

.btn-filter:hover {
    background-color: #1a1a1a;
}

.btn-reset {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 5px 15px;
    font-size: 16px;
    border-radius: 3px;
    margin-top: 22px;
}

.model-name {
    font-family: monospace;
    font-size: 16px;
    color: #666;
}

.view-link {
    color: var(--primary-main-color);
    text-decoration: none;
    cursor: pointer;
}

.view-link:hover {
    text-decoration: underline;
}

.table th,
.table td {
    border-bottom: 1px solid #ddd !important;
}

.header-logo1 {
    width: 130px;
    background-color: #f4f4f4;
    padding: 5px;
    width: 200px;
}

.table-page {
    font-size: 17px;
    margin-bottom: 20px;
}

.table-page thead th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
    text-align: center;
}

.table-page td {
    vertical-align: middle;
}

.table-page td {
    max-width: 150px;
    text-overflow: ellipsis;
}

.table-page td:hover {
    word-wrap: break-word;
}

.col-role {
    width: 15%;
    min-width: 100px;
}

.col-permissions {
    width: 65%;
}

.col-actions {
    width: 20%;
    min-width: 130px;
}

.btn.btn-sm.btn-primary {
    --bs-btn-color: #f4f4f4 !important;
    --bs-btn-bg: #1a1a1a !important;
    --bs-btn-border-color: #1a1a1a !important;
    --bs-btn-hover-color: #f4f4f4 !important;
    --bs-btn-hover-bg: #f4f4f4 !important;
    --bs-btn-hover-border-color: #f4f4f4 !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253 !important;
    --bs-btn-active-color: #f4f4f4 !important;
    --bs-btn-active-bg: #f4f4f4 !important;
    --bs-btn-active-border-color: #f4f4f4 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    --bs-btn-disabled-color: #f4f4f4 !important;
    --bs-btn-disabled-bg: #f4f4f4 !important;
    --bs-btn-disabled-border-color: #f4f4f4 !important;
}

.btn-primary {
    --bs-btn-color: #f4f4f4 !important;
    --bs-btn-bg: var(--primary-main-color) !important;
    --bs-btn-border-color: #f4f4f4 !important;
    --bs-btn-hover-color: #f4f4f4 !important;
    --bs-btn-hover-bg: #f4f4f4 !important;
    --bs-btn-hover-border-color: #f4f4f4 !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253 !important;
    --bs-btn-active-color: #f4f4f4 !important;
    --bs-btn-active-bg: #f4f4f4 !important;
    --bs-btn-active-border-color: #f4f4f4 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    --bs-btn-disabled-color: #f4f4f4 !important;
    --bs-btn-disabled-bg: #f4f4f4 !important;
    --bs-btn-disabled-border-color: #f4f4f4 !important;
}

.form-control:focus {
    border-color: var(--primary-main-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(114, 111, 111, 0.23) !important;
    /* box-shadow: none; */
    /* box-shadow: 0 0 0 0.2rem rgba(160, 107, 100, 0.25); */
}

a {
    /* color: var(--primary-main-color) !important; */
    color: #000 !important;
}

.record-header {
    background-color: var(--primary-main-color) !important;
    color: #fff !important;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #dee2e6;
    margin-bottom: 0;
    font-size: 16px;
}

.table-records {
    font-size: 16px;
    margin-bottom: 20px;
}

.table-records thead th {
    background-color: var(--primary-main-color);
    color: #fff;
    font-weight: 500;
    border-bottom: 1px solid #ccc;
}

.action-link {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

.form-container {
    margin-top: 20px;
    padding-left: 20px;
}

@media (min-width: 768px) {
    .col-md-2 {
        width: 14% !important;
    }
}

.log-table th,
.log-table td {
    padding: 4px !important;
    text-align: center;
    vertical-align: middle;
}
.log-table thead th {
    background-color: #f8f9fa;
}
.log-table th,
.log-table td {
    vertical-align: middle;
    padding: 4px !important;
    text-align: center;
}
.text-start-important {
    text-align: left !important;
    padding-left: 10px !important;
}
.form-header-input {
    border: none;
    border-bottom: 1px solid #000;
    outline: none;
    width: 150px;
}
.input-cell {
    width: 100%;
    border: none;
    text-align: center;
    background: transparent;
}
.border-bottom {
    border-bottom: 1px solid #000 !important;
    border-radius: 0;
}

.med-table th,
.med-table td {
    padding: 2px !important;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #333 !important;
}
.med-table thead th {
    background-color: #ffffff;
    color: #000;
    font-weight: bold;
}
.med-input {
    width: 100%;
    border: none;
    text-align: center;
    background: transparent;
    outline: none;
}
.med-input:focus {
    background-color: #fff9c4;
}
.time-col {
    background-color: #f0f0f0;
    width: 40px;
    font-weight: bold;
}
.header-line {
    border: none;
    border-bottom: 1px solid #000;
    width: 100%;
    outline: none;
}

.behavior-table th,
.behavior-table td {
    padding: 2px !important;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #000 !important;
}
.behavior-input {
    width: 100%;
    border: none;
    text-align: center;
    background: transparent;
    outline: none;
}
.code-box {
    border: 1px solid #000;
    padding: 5px;
    height: 100%;
}
.header-underline {
    border: none;
    border-bottom: 1px solid #000;
    outline: none;
    width: 150px;
}

.form-row {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.form-input {
    border: 0px solid #999 !important;
    width: 274px;
}

.form-section {
    background: #f4f4f4;
    padding: 15px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.search-btn {
    background: #ebebeb;
    border: 1px solid #999;
    padding: 2px 10px;
    font-size: 16px;
    cursor: pointer;
    color: #000;
}

.containers {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.headers {
    background-color: #f0f0f0;
    padding: 8px 12px;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    font-size: 14px;
}

.legends {
    padding: 12px;
    background-color: #fafafa;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
}

.legend-items {
    margin-bottom: 2px;
}

.content {
    padding: 15px;
}

.form-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    margin-bottom: 12px;
}

.form-groups {
    display: flex;
    flex-direction: column;
}

.form-groups label {
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
}

.form-groups select {
    padding: 4px 6px;
    border: 1px solid #999;
    border-radius: 3px;
    font-size: 12px;
    background-color: white;
    cursor: pointer;
    height: 24px;
}

.form-groups select:focus {
    outline: 2px solid #4a90e2;
    border-color: #4a90e2;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 6px;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.checkbox-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    margin-top: 15px;
}

.containers-2 {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
}

.new-blue {
    color: #0c297f;
}

.btn-update {
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    color: #333;
    padding: 4px 15px;
    font-size: 12px;
    border-radius: 4px;
    margin: 15px;
    cursor: pointer;
}

.btn:hover {
    color: var(--bs-btn-hover-border-color) !important;
}

.btn-cancel {
    background-color: #f2f2f2 !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
    padding: 7px 15px;
    font-size: 16px !important;
    border-radius: 4px;
    margin: 15px;
    cursor: pointer;
    text-decoration: none;
}

.col-sm-3.small.text-muted.font-weight-normal {
    color: var(--primary-main-color) !important;
}

.col-sm-3.small {
    color: var(--primary-main-color) !important;
}

.rev {
    color: var(--primary-main-color);
}

.text-muted {
    color: var(--primary-main-color) !important;
}

.hed {
    max-width: 600px;
    margin: 0 auto;
}

.signature-wrapper {
    position: relative;
    width: 100%;
    height: 310px;
    background-color: #f8f9fa;
    border: 1px dashed #ccc !important;
    border-radius: 4px;
}

#signature-pad {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.contact-container {
    display: flex;
    gap: 40px;
    font-family: Arial, sans-serif;
    font-size: 17px;
    flex-wrap: wrap;
}

.contact-column {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 0;
    }
}

.classic-form-table {
    border-top: 1px solid #eee;
    width: 100%;
}

.classic-form-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 4px 0;
    align-items: center;
}

.classic-label {
    width: 140px;
    /* color: var(--primary-main-color); */
}

.classic-input {
    flex-grow: 1;
}

.classic-control {
    border: 1px solid #999;
    font-size: 17px;
    padding: 2px;
    width: 180px;
}

.classic-textarea {
    width: 250px;
    height: 80px;
}

.section-title {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 10px;
    color: #000;
    text-transform: none;
}

.link-blue {
    color: var(--primary-main-color);
    text-decoration: none;
    font-size: 17px;
    cursor: pointer;
}

.address-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.form-container {
    font-family: Arial, sans-serif;
    font-size: 17px;
    color: #333;
}

.text-brown {
    /* color: var(--primary-main-color) !important; */
    color: red;
}

.section-header {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.form-group-custom {
    display: flex;
    margin-bottom: 8px;
    align-items: flex-start;
}

.form-group-custom label {
    width: 250px;
    font-weight: normal;
    margin-right: 10px;
    padding-top: 5px;
}

.input-wrapper {
    flex-grow: 1;
}

.form-control-sm,
.form-select-sm {
    border-radius: 2px;
    border: 1px solid #ccc;
    padding: 2px 5px;
}

.checkbox-list {
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
}

.checkbox-list li {
    margin-bottom: 3px;
    display: flex;
    align-items: flex-start;
}

.checkbox-list input {
    margin-right: 8px;
    margin-top: 4px;
}

.form-group-custom .form-label {
    margin-bottom: 0;
    font-size: 12px;
    width: 23% !important;
}

.red-color {
    color: var(--primary-main-color);
}

.report-form {
    font-family: Arial, sans-serif;
    font-size: 17px;
    color: #333;
    width: 100%;
    max-width: 900px;
}

.report-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 4px 0;
    align-items: center;
}

.report-label {
    width: 220px;
    padding-left: 5px;
    color: var(--primary-main-color);
}

.report-input {
    flex-grow: 1;
}

.report-control {
    font-size: 17px;
    padding: 2px;
}

.section-heading {
    font-weight: bold;
    font-size: 15px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #000;
}

.report-control.slec {
    max-width: 123px;
}

.section-subtext {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.report-textarea {
    width: 300px;
    height: 80px;
}

.wide-text {
    width: 400px;
}

.form-row {
    display: flex;
    margin-bottom: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.form-label {
    /* color: var(--primary-main-color); */
    font-size: 14px;
    font-weight: bold;
    width: 207px;
}

.form-input {
    border: none;
    padding: 0 !important;
    width: 100%;
}

.questionnaire .form-label {
    width: 500px;
}

input[type="text"] {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #999;
    font-size: 17px;
    font-family: Arial, sans-serif;
}

select {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #999;
    font-size: 11px;
    font-family: Arial, sans-serif;
    background-color: white;
}

.calendar-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #e0e0e0;
    border: 1px solid #999;
    margin-left: 5px;
    text-align: center;
    line-height: 18px;
    cursor: pointer;
    vertical-align: middle;
    font-size: 12px;
}

.date-input-wrapper {
    display: flex;
    align-items: center;
    max-width: 400px;
}

.date-input-wrapper input {
    flex: 1;
}

.calendar-popup {
    position: absolute;
    background-color: white;
    border: 2px solid var(--primary-main-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    margin-top: 2px;
    display: none;
}

.calendar-popup.show {
    display: block;
}

.calendar-header {
    background: linear-gradient(to bottom, #b83939, var(--primary-main-color));
    color: white;
    padding: 6px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-nav {
    cursor: pointer;
    padding: 0 8px;
    font-size: 17px;
    user-select: none;
}

.calendar-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 30px);
    gap: 1px;
    background-color: #e0e0e0;
    padding: 1px;
}

.calendar-day-header {
    background-color: #f0f0f0;
    text-align: center;
    padding: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #333;
}

.calendar-day {
    background-color: white;
    text-align: center;
    padding: 6px 4px;
    cursor: pointer;
    font-size: 10px;
    min-height: 24px;
}

.calendar-day:hover {
    background-color: #e8f4ff;
}

.calendar-day.other-month {
    color: #999;
}

.calendar-day.today {
    background-color: #ffffcc;
    font-weight: bold;
}

.calendar-day.selected {
    background-color: #4a7ba7;
    color: white;
    font-weight: bold;
}

.calendar-day.weekend {
    background-color: #f9f9f9;
}

.form-section.layout-two-column {
    display: flex;
    flex-direction: row;
    /* Layout items horizontally */
    gap: 30px;
    /* Space between the two columns */
    padding: 20px;
}

.column-left,
.column-right {
    flex: 1;
    /* Make both columns equally share the available space */
    min-width: 0;
    /* Prevents overflow issues */
}

.form-consolidated {
    width: 100%;
}

input[type="text"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #999;
    font-size: 17px;
    font-family: Arial, sans-serif;
}

.btn-outline-danger:hover {
    color: #000 !important;
    background-color: transparent !important;
}

.dataTables_filter {
    text-align: left !important;
    margin-bottom: 1rem;
}

div.dataTables_wrapper .dataTables_filter {
    float: left !important;
}

.table-page thead th:not(.text-center) {
    text-align: left !important;
}

.filter-section {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
}
.filter-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.filter-input {
    border: 1px solid #ccc;
    padding: 2px 5px;
    width: 250px;
    height: 25px;
    font-size: 13px;
}
.search-btn-area {
    margin-top: 10px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    font-size: 13px;
}
.clear-filter {
    color: #0056b3;
    text-decoration: none;
    cursor: pointer;
    margin-left: 10px;
}

.form-container {
    font-family: Arial, sans-serif;
    font-size: 17px;
    color: #333;
}

.form-group-row {
    border-bottom: 1px solid #eee;
    padding-top: 10px;
    padding-bottom: 10px;
}

.form-group-row .link {
    color: rgb(13, 110, 253);
    text-decoration: none;
    cursor: pointer;
}

.form-group-custom {
    display: flex;
    margin-bottom: 8px;
    align-items: flex-start;
}

.form-group-custom label {
    width: 250px;
    font-weight: normal;
    margin-right: 10px;
    padding-top: 5px;
}

.input-wrapper {
    flex-grow: 1;
}

textarea.form-group-textarea {
    width: 70%;
    resize: vertical;
}

.form-label {
    margin-bottom: 0;
    font-size: 12px;
    width: 201px !important;
}

.code-preview {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
    border-radius: 4px;
}

.field-value1{
    flex: 1;
    color: #000;
    font-size: 11px;
    padding-left: 64px;
}

.theme-header-red {
   background-color: #b31b1b !important;
   color: #f4f4f4 !important;
}

.theme-color-white {
   color: #f4f4f4 !important;
}

.red-text {
    color: #b31b1b;
}


/* Sidebar base transition */
.sidebar {
    transition: transform 0.3s ease;
}

/* Hamburger Button - desktop par hidden */
.hamburger-btn {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1050;
    background: #343a40;
    border: none;
    border-radius: 5px;
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger X Animation */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}
.sidebar-overlay.active {
    display: block;
}

/* Mobile - sab kuch ek jagah */
@media (max-width: 991.98px) {
    .hamburger-btn {
        display: flex;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh !important;
        max-height: 100vh !important;
        width: 260px;
        min-height: unset !important;
        max-width: unset !important;
        background: #fff;
        z-index: 1045;
        padding: 60px 20px 20px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        transform: translateX(-100%);
        overflow-y: scroll !important;
        scrollbar-width: thin;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    /* Chrome/Safari scrollbar */
    .sidebar::-webkit-scrollbar {
        width: 4px;
    }

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

    .sidebar::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

    .sidebar::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
}

.btn-new-tpl {
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: .82rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-new-tpl:hover {
    background: #8f1515;
    color: #fff;
}

.patient_diagnose_modal {
    max-height: 860px;

}
