@font-face {
    font-family: 'Gotham';
    src: url('/assets/fonts/gotham/Gotham-Book.woff2') format('woff2'),
        url('/assets/fonts/gotham/Gotham-Book.woff') format('woff'),
        url('/assets/fonts/gotham/Gotham-Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('/assets/fonts/gotham/Gotham-Bold.woff2') format('woff2'),
        url('/assets/fonts/gotham/Gotham-Bold.woff') format('woff'),
        url('/assets/fonts/gotham/Gotham-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('/assets/fonts/gotham/Gotham-Medium.woff2') format('woff2'),
        url('/assets/fonts/gotham/Gotham-Medium.woff') format('woff'),
        url('/assets/fonts/gotham/Gotham-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Gotham', Arial, sans-serif;
    font-weight: 400;
    background-color: var(--background-color);
}

.top-left-image,
.bottom-right-image {
    position: absolute;
    width: 225px;
    height: auto;
    z-index: 10;
}

.top-left-image {
    top: 0;
    left: 0;
}

.bottom-right-image {
    bottom: 0;
    right: 0;
}

/* Media Queries for Responsive Adjustments */

/* Tablets (iPads) */
@media (max-width: 1024px) {

    .top-left-image,
    .bottom-right-image {
        width: 175px;
    }

    .center-logo {
        max-width: 150px;
        width: 40vw;
    }
}

/* Mobile devices */
@media (max-width: 767px) {

    .top-left-image,
    .bottom-right-image {
        width: 125px;
    }

    /* Optional: shift images slightly inward */
    .top-left-image {
        top: 5px;
        left: 5px;
    }

    .bottom-right-image {
        bottom: 5px;
        right: 5px;
    }

    .center-logo {
        max-width: 100px;
        width: 60vw;
    }

    .logo-text {
        font-size: 1rem;
    }
}

.logo-text-container {
    text-align: center;
    z-index: 20;
    position: relative;
    max-width: 30vw;
}

.center-logo {
    max-width: 175px;
    width: 50vw;
    height: auto;
    margin-bottom: 1rem;
    max-height: 30vh;
    /* limit height to avoid overflow on tall displays */
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 1rem;
    color: var(--bs-primary);
    letter-spacing: 0.08em;
}

.login-type-text {
    font-weight: 500;
    font-size: 20px;
    color: var(--bs-black);
}

.login-type-text-desc {
    font-weight: 400;
    font-size: 16px;
    color: var(--bs-secondary);
}

.form-check-text {
    font-weight: 500;
    font-size: 14px;
    color: var(--bs-black);
}

.form-label {
    font-weight: 500;
    font-size: 16px;
    color: var(--bs-black);
}

.login-terms-desc {
    font-weight: 400;
    font-size: 12px;
    color: var(--bs-black);
    text-align: justify;
}

.nav-logout-btn {
    background-color: var(--bs-gray-400);
    padding: 5px 15px;
    font-weight: 500;
    font-size: 13px;
    color: #58595B;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-logout-btn:hover {
    background-color: var(--bs-gray-600);
    color: #fff;
    text-decoration: none;
}

.nav-logout-btn:active {
    background-color: var(--bs-gray-700);
    color: #e0e0e0;
    /* Optional: add a slight scale for active/click effect */
    transform: scale(0.98);
}

.rg-cards {
    padding: 25px 0px;
    background-color: #FFF5DB;
}

.rg-cards-head-text {
    color: #702877;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
}

.rg-cards-head-text-welcome {
    color: #702877;
    font-weight: 700;
    font-size: 18px;
    text-transform: capitalize;
}

.rg-cards-head-text-desc {
    color: var(--bs-black);
    font-weight: 400;
    font-size: 16px;
}

.card-icon {
    stroke: #00AFAA;
    fill: none;
}

.card-body-text {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--bs-black);
    border-bottom: 1px solid #00AFAA;
    padding-bottom: 3px;
}

.card-body-count {
    font-weight: 500;
    font-size: 50px;
    text-transform: uppercase;
    color: #702877;
    line-height: 1;
    margin-top: 10px;
}

.card-body-desc {
    font-weight: 400;
    font-size: 13px;
    text-transform: capitalize;
    color: var(--bs-black);
}

.tab-group {
    display: flex;
    background-color: var(--bs-white);
    border-radius: 32px;
    padding: 6px 6px;
    overflow-x: auto;
    /* horizontal scroll if needed */
    overflow-y: hidden;
    /* hide vertical scrollbar */
    max-width: 100%;
    gap: 4px;
    border: 1px solid #D9D9D9;
    -ms-overflow-style: none;
    /* hide scrollbar in IE and Edge */
    scrollbar-width: none;
    /* hide scrollbar in Firefox */
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari) */
.tab-group::-webkit-scrollbar {
    display: none;
}

.tab {
    flex: 1 1 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    outline: none;
    background: #D9D9D9;
    cursor: pointer;
    font-size: 16px;
    color: var(--bs-black);
    padding: 8px 16px;
    border-radius: 28px;
    font-family: inherit;
    font-weight: 400;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.tab[data-active="true"] {
    background: #702877;
    color: #fff;
}

.tab[data-active="true"] i {
    color: #fff !important;
    stroke: #fff !important;
}

.tab:not([data-active="true"]):hover {
    background: #702877;
    color: #fff !important;
    stroke: #fff !important;
}

.tab i {
    stroke: #702877;
    stroke-width: 2.2px;
    margin-right: 8px;
    vertical-align: middle;
}

/* PDF icon special color on active */
.tab.pdf[data-active="true"] i {
    stroke: #fff !important;
}

.rg-tab-groups {
    padding: 25px 0px;
}

table.dataTable {
    overflow: hidden;
    /* ensure rounded corners clip content */
}

table.dataTable thead th:first-child {
    border-top-left-radius: 12px;
}

table.dataTable thead th:last-child {
    border-top-right-radius: 12px;
}

table.dataTable tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

table.dataTable tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

table.dataTable th {
    font-size: 15px;
    font-weight: 500;
}

table.dataTable td {
    font-size: 14px;
    font-weight: 400;
}

.rg-footer {
    padding: 25px 0px;
}

.footer-text {
    font-weight: 400;
    font-size: 14px;
}

.rg-table-anchor {
    color: #9E9E9E;
    text-decoration: none;
}

.rg-table-anchor {
    color: #9E9E9E;
    text-decoration: none;
    stroke: #00AFAA;
    fill: none;
}

td {
    vertical-align: middle;
}

.dataTables_length {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 6px;
}

.dataTables_filter {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 6px;
}

.dataTables_paginate {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 6px;
}

.dataTables_info {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 6px;
}

.rg-table-actions {
    width: 120px;
    /* fixed width */
    white-space: nowrap;
    /* prevent the icons from wrapping */
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0);
    }
}

.invalid-label {
    animation: shake 0.3s ease-in-out;
    color: red;
}

/* Style for error messages */
.error-message {
    color: red;
    font-size: 0.775rem;
    margin-top: 0.25rem;
}

.no-decoration {
    text-decoration: none;
}

svg.feather {
    width: 20px;
    /* desired width */
    height: 20px;
    /* desired height */
}

.file-input-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.file-filename {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.psychiatrist-terms-small {
    font-size: 11px;
    text-align: justify;
    display: inline-block;
    line-height: 1.4;
}

.register-anchor {
    color: #00AFAA;
    font-weight: 600;
    text-decoration: none;
}

.privacy-link {
    font-size: 13px;
    color: #0A7E8C;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700 !important;
}

.status-card {
    background-color: #00AFAA;
    /* teal similar to the image */
    color: #fff;
    border-radius: 0.375rem;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-text .label {
    font-size: 16px;
    display: block;
}

.status-text .value {
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
    display: block;
    text-align: left;
}

.status-icon svg {
    height: 36px;
}

/* 📱 Mobile Only Styles */
@media (max-width: 576px) {
    .status-card {
        flex-direction: column;
        text-align: center;
        padding: 10px;
        gap: 8px;
    }

    .status-text .label {
        font-size: 14px;
    }

    .status-text .value {
        font-size: 13px;
        text-align: center;
    }

    .status-icon svg {
        height: 30px;
    }
}

/* Base transition */
.tab img {
    transition: filter 0.2s ease-in-out;
}

/* Hover → make icon white */
.tab:hover img {
    filter: brightness(0) invert(1);
}

/* Active tab → make icon white */
.tab[data-active="true"] img {
    filter: brightness(0) invert(1);
}