@font-face {
    font-family: DinotBold;
    src: url('/fonts/FontFont - DINOT-Bold.otf');
}

@font-face {
    font-family: DinotMedium;
    src: url('/fonts/FontFont - DINOT-Medium.otf');
}

@font-face {
    font-family: Dinot;
    src: url('/fonts/FontFont - DINOT.otf');
}

@font-face {
    font-family: Klavika;
    src: url('/fonts/klavika-bold.otf');
}

:root {
    --amr-primary: #000000;
    --amr-secondary: #F3002B;
    --amr-font-header: DinotBold;
    --amr-font-body: Dinot;
    --amr-font-title: Klavika;
    --amr-font-medium: DinotMedium;
}

html,
body {
    overflow-x: hidden;
    font-family: var(--amr-font-body);
}

html, body {
    height: 100%;
}

    body > footer {
        position: sticky;
        top: 100vh;
    }

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

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

.content {
    padding-top: 1.1rem;
}

.amr-text {
    color: #F3002B;
}

.amr-text-header {
    color: #000000;
    font-family: var(--amr-font-header);
    margin-top: -0.4rem;
}

.amr-title {
    font-family: var(--amr-font-title);
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.pointer {
    cursor: pointer;
}

.modal-body {
    max-height: 60vh; /* Adjust this value as needed */
    overflow-y: auto;
}

/* MUDTABLE */
.compact-table .mud-table-container {
    overflow: visible !important;
    height: auto !important;
}

/* Optional: ensure header still sticks visually */
.compact-table thead {
    position: sticky;
    top: 0;
    background-color: var(--mud-palette-background);
    z-index: 1;
}
/* Optional: subtle header style */
.compact-table thead th {
    background: var(--mud-palette-background-gray);
    font-weight: 600;
}


/*=== Status label===*/
.status-success {
    color: green;
    font-weight: bold;
}

.status-error {
    color: red;
    font-weight: bold;
}
/* toast container */
.app-toast-container {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
}

/* BIG toast */
.app-toast {
    min-width: 440px; /* bigger */
    max-width: 840px; /* bigger */
    padding: 1rem 1.25rem; /* bigger */
    border-radius: 0.9rem; /* rounder */
    box-shadow: 0 16px 40px rgba(0,0,0,.16), 0 3px 10px rgba(0,0,0,.1);
    color: #fff; /* white text */
    font-size: 1.125rem; /* bigger text */
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease;
}

.app-toast--show {
    opacity: 1;
    transform: translateY(0);
}

.app-toast--closing {
    opacity: 0;
    transform: translateY(-10px);
}

/* light green background (still readable with white text) */
.app-toast--success {
    background: #22c55e; /* light/bright green */
}

/* other variants if you want them */
.app-toast--error {
    background: #dc3545;
}

.app-toast--info {
    background: #0ea5e9;
}

.app-toast--warn {
    background: #f59e0b;
}

/* layout inside the toast */
.app-toast__row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.app-toast__body {
    flex: 1;
}

.app-toast__title {
    font-weight: 700;
    margin: 0 0 .25rem 0;
}

.app-toast__content {
    margin: 0;
    opacity: .95;
}

/* close button */
.app-toast__close {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    opacity: .85;
    margin-left: .5rem;
}

    .app-toast__close:hover {
        opacity: 1;
    }

/* animations */
@keyframes app-toast-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes app-toast-out {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* optional close button */
.app-toast__close {
    appearance: none;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 1rem;
    margin-left: .5rem;
    opacity: .8;
    cursor: pointer;
}

.app-toast__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

/* LOGO */
#logo {
    width: 250px;
}

/* AVATAR */
.user-avatar {
    width: 42px;
    height: 42px;
    background: #38bdf8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

    .user-avatar:hover {
        background: #0ea5e9;
        transform: scale(1.05);
    }

/* DROPDOWN MENU */
.profile-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1000;
    animation: fadeIn 0.15s ease-in-out;
}

.user-initials-circle {
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #2da8ff; /* default */
}

    /* Hover effect with soft glow */
    .user-initials-circle:hover {
        box-shadow: 0 0 10px rgba(0, 140, 255, 0.6);
        transform: scale(1.05);
    }

    /* Role-based colors */
    .user-initials-circle.SuperAdmin {
        background: #f3002B;
        color: #FFFFFF;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
    }

    .user-initials-circle.Manager {
        background: #f59e0b;
    }

    .user-initials-circle.User {
        background: #22c55e;
    }

    /* Optional: distinct hover glow per role */
    .user-initials-circle.SuperAdmin:hover {
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
    }

    .user-initials-circle.Manager:hover {
        box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
    }

    .user-initials-circle.User:hover {
        box-shadow: 0 0 12px rgba(34, 197, 94, 0.7);
    }

.profile-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    width: 180px;
    z-index: 2000;
    display: none;
    animation: fadeIn 0.2s ease-in-out;
}

    .profile-dropdown.show {
        display: block;
    }

    .profile-dropdown .dropdown-item {
        width: 100%;
        padding: 8px 12px;
        background: none;
        border: none;
        text-align: left;
        font-size: 1rem;
        transition: background 0.2s;
    }

        .profile-dropdown .dropdown-item:hover {
            background-color: #f3f3f3;
        }
.dropdown-item.active,
.dropdown-item:active {
    background-color: unset !important;
    color: unset !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.profile-modal {
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    background: #fff;
    color: #333;
    z-index: 1050;
    border-radius: 10px;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1040;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header {
    background: #f1f5f9;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0ea5e9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 8px auto;
}

.dropdown-name {
    font-weight: 600;
    font-size: 1rem;
}

.dropdown-role {
    font-size: 0.8rem;
    color: #6b7280;
    text-transform: uppercase;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #1f2937;
    text-decoration: none;
    transition: background 0.2s;
}

    .dropdown-item:hover {
        background: #f1f5f9;
    }

    .dropdown-item.logout {
        color: #ef4444;
    }


/*=== Info Modal===*/
.icon-color {
    color: #B3B3B3
}

.info-footer {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    margin-right: 20px
}

.info-title {
    font-family: var(--amr-font-title);
}

.info-body {
    font-family: var(--amr-font-medium);
}

a {
    text-decoration: none;
    color: black;
}

    a:active {
        color: var(--amr-secondary);
    }

    a:hover {
        color: var(--amr-secondary);
    }

h1, h2, h4, h5 {
    font-family: var(--amr-font-header);
}

h3 {
    font-family: var(--amr-font-title);
}
/*=== Navbar ===*/
img.navbar-brand {
    width: 150px;
}

#logo {
    width: 250px;
}

.navbar-nav {
    margin-left: auto;
}

    .navbar-nav .nav-link {
        color: black;
        font-weight: bold;
    }

        .navbar-nav .nav-link:hover {
            color: var(--amr-secondary);
            font-weight: bold;
        }

.nav-tabs {
    border: none;
    justify-content: right;
    margin-right: 70px;
}

    .nav-tabs .nav-link {
        border: none;
    }

.nav-item .nav-link {
    font-size: 20px;
    text-align: right;
    width: 130px;
    color: black !important;
    font-family: var(--amr-font-medium);
}

.active-link {
    color: black !important;
    border-bottom: 3px solid #E0411F !important;
    background-color: transparent !important;
}

.nav-link.active {
    color: black !important;
    border-bottom: 3px solid #F3002B !important;
    background-color: #EBEBEB !important;
}

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

.amr-text-secondary {
    color: var(--amr-secondary);
}
/*=== Background color ===*/
.amr-bg-primary {
    background: var(--amr-primary);
}

.amr-bg-secondary {
    background: var(--amr-secondary);
}
/*=== Button color ===*/
.btn {
    font-weight: bold;
    color: white;
    font-family: var(--amr-font-header);
    border-radius: 7px;
    height: 37px;
}

.amr-btn-primary {
    color: var(--amr-secondary);
    background: white;
    width: 80px;
}

a.btn.amr-btn-primary:focus {
    color: white !important;
}

.amr-btn-secondary {
    color: white;
    background: var(--amr-secondary);
}

.amr-btn-white {
    color: black;
    background: white;
    border: solid 3px white;
}
/*=== Search Box ===*/
input[type=search] {
    width: 20rem;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    color: rgb(17 24 39);
    background-color: rgb(249 250 251);
    border: 1px solid rgb(209 213 219);
    border-radius: 0.5rem;
    outline-offset: 1px;
}

    input[type=search]:focus {
        border-color: rgb(59 130 246);
        outline-color: rgb(59 130 246);
    }

.search-box {
    position: relative;
}

    .search-box:before {
        content: ' ';
        width: 1.25rem;
        height: 1.25rem;
        position: absolute;
        left: .75rem;
        top: calc(50% - 1.25rem/2);
    }

.welcome {
    padding-left: 130px;
}

.companyTxt {
    padding-left: 30px;
    text-align: center;
}

.page-size-chooser {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

    .page-size-chooser select {
        margin: 0 1rem;
        padding: 0.25rem 0.5rem;
    }

/* === Dropdowns === */
.simple-select {
    appearance: none; /* hide native arrow */
    width: 12rem; /* tweak as needed */
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.5rem; /* rounded */
    background: #fff;
    /* custom arrow (SVG data URI) */
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%238a94a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 16px 16px;
    color: #111827; /* gray-900 */
    font-size: 0.95rem;
    line-height: 1.25rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .simple-select:hover {
        border-color: #9ca3af; /* gray-400 */
    }

    .simple-select:focus {
        outline: none;
        border-color: #60a5fa; /* blue-400 */
        box-shadow: 0 0 0 4px rgba(96,165,250,.25);
    }

    .simple-select:disabled {
        background: #f3f4f6; /* gray-100 */
        color: #6b7280; /* gray-500 */
        border-color: #e5e7eb; /* gray-200 */
        cursor: not-allowed;
    }

/* Quick size helpers (optional) */
.simple-select--sm {
    padding: 0.4rem 2rem 0.4rem 0.6rem;
    font-size: .9rem;
}

.simple-select--lg {
    padding: 0.7rem 2.4rem 0.7rem 0.85rem;
    font-size: 1.05rem;
}

/* Full width helper (optional) */
.w-full {
    width: 100%;
}

/* Optional dark mode */
@media (prefers-color-scheme: dark) {
    .simple-select {
        background: #0b0f14;
        color: #e5e7eb;
        border-color: #22303c;
        background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%23b2b9c2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

        .simple-select:hover {
            border-color: #2f3e4c;
        }

        .simple-select:disabled {
            background: #0f141a;
            border-color: #1c2833;
            color: #9ca3af;
        }
}
/* === QuickGrid Container (Base) === */
.quickgrid-container {
    width: 1200px; /* Default for laptops/desktops */
    max-width: 100%; /* Prevent overflow on smaller screens */
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

/* === Responsive Widths === */
@media (min-width: 1600px) {
    .quickgrid-container {
        width: 1600px;
    }
    /* Large monitors */
}

@media (max-width: 1599px) and (min-width: 1280px) {
    .quickgrid-container {
        width: 1200px;
    }
    /* Standard laptops */
}

@media (max-width: 1279px) and (min-width: 1024px) {
    .quickgrid-container {
        width: 1000px;
    }
    /* Small laptops */
}

@media (max-width: 1023px) and (min-width: 768px) {
    .quickgrid-container {
        width: 800px;
    }
    /* Tablets */
}

@media (max-width: 767px) {
    .quickgrid-container {
        width: 600px; /* Mobile */
        margin-bottom: 0.5rem;
    }
}

/* === Table Responsiveness & Scaling === */
.quickgrid-container table {
    width: auto;
    min-width: 800px;
    border-collapse: collapse;
    font-size: 1rem;
    table-layout: auto;
}

/* Font scaling by breakpoint */
@media (min-width: 1600px) {
    .quickgrid-container table {
        font-size: 1.05rem;
        min-width: 1000px;
    }
}

@media (max-width: 1599px) and (min-width: 1024px) {
    .quickgrid-container table {
        font-size: 1rem;
        min-width: 900px;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .quickgrid-container table {
        font-size: 0.9rem;
        min-width: 700px;
    }
}

@media (max-width: 767px) {
    .quickgrid-container table {
        font-size: 0.8rem;
        min-width: 600px;
    }
}

/* === Scrollbar Styling === */
.quickgrid-container::-webkit-scrollbar {
    height: 10px;
}

.quickgrid-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

    .quickgrid-container::-webkit-scrollbar-thumb:hover {
        background: #aaa;
    }

/* === QuickGrid Theme: RCM (Light Mode Default) === */
.quickgrid[theme="RCM"] {
    min-width: max-content;
    table-layout: auto;
}

    .quickgrid[theme="RCM"] thead {
        background-color: #d32f2f; 
        color: #fff !important;
    }

    .quickgrid[theme="RCM"] th {
        text-align: left;
        padding: 10px;
        border: 1px solid #ddd;
        color: #fff;
    }

    .quickgrid[theme="RCM"] tbody tr:nth-child(even) {
        background-color: #f4f4f4;
    }

    .quickgrid[theme="RCM"] tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }

    .quickgrid[theme="RCM"] tbody tr:hover {
        background-color: #ffebee;
        cursor: pointer;
    }

    .quickgrid[theme="RCM"] td {
        padding: 10px;
        border: 1px solid #ddd;
        text-align: left;
    }

    .quickgrid[theme="RCM"] th,
    .quickgrid[theme="RCM"] td {
        white-space: nowrap;
    }

/* === Dark Mode Support === */
@media (prefers-color-scheme: dark) {
    .quickgrid[theme="RCM"] thead {
        background-color: #9a0007; 
        color: #fff;
    }

    .quickgrid[theme="RCM"] tbody tr:nth-child(even) {
        background-color: #2b2b2b; 
    }

    .quickgrid[theme="RCM"] tbody tr:nth-child(odd) {
        background-color: #1e1e1e; 
    }

    .quickgrid[theme="RCM"] tbody tr:hover {
        background-color: #3a0e0e; 
    }

    .quickgrid[theme="RCM"] th,
    .quickgrid[theme="RCM"] td {
        border: 1px solid #444;
        color: #f5f5f5;
    }

    .quickgrid-container::-webkit-scrollbar-thumb {
        background: #555;
    }

        .quickgrid-container::-webkit-scrollbar-thumb:hover {
            background: #777;
        }
}

.wrap-text {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 400px;
    display: block;
}

.col-title-text {
    font-weight: 600;
    color: white;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
    color: #29292e;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e5dfe4;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 5px;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 8.70rem;
}
/*=== Footer OuterLayout ===*/
.custom-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    min-height: 70px;
    font-family: var(--amr-font-header);
}

.custom-nav {
    background-color: #EBEBEB;
    /*height: 115px;*/
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3.5rem;
}

.custom-footer {
    background-color: #EBEBEB;
    height: 70px;
    margin-top: 15px;
}

.logo-text {
    font-family: var(--amr-font-header);
    font-size: 13px;
    white-space: nowrap;
}
/*=== MainLayout ===*/
.top-row {
    position: center;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: red;
}

.title {
    position: center;
    justify-content: center;
    align-items: center;
}

.required-asterisk {
    color: red;
}

.custom-nav-main-layout {
    background-color: #EBEBEB;
    height: 100px;
}

.logo-width {
    width: 250px;
}

.logo-width-outer {
    width: 300px;
}

.help_btn_main {
    display: flex;
    justify-content: end;
    align-items: center;
}
/*=== Login ===*/
.checkbox {
    border-radius: 0px;
    border: solid 2px #d9d9d9;
    width: 20px;
    height: 20px;
}

.checkbox-div {
    padding-left: 210px;
}

.form-check-input[type=checkbox] {
    border-radius: 0px !important;
}

table {
    margin: auto;
}

    table th, table td {
        padding: 10px 0px 10px 10px;
        border-color: #ccc;
    }

.custom-font-size {
    font-size: 13px;
    font-family: var(--amr-font-medium);
}

.amr-btn-login {
    background-color: #F3002B;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 50%;
}

.custom-input {
    height: 60px;
    line-height: 60px;
    background-color: #EBEBEB;
    padding: 0 20px;
    display: inline-block;
    border: none;
    background: #f1f1f1;
    width: 50%;
}

    .custom-input:focus {
        background-color: #ddd;
        outline: none;
        border: 1px solid red;
        box-shadow: 0 1px 4px 0 red;
        border-radius: 3px;
    }

.custom-dropdown {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    outline: none;
    margin-top: 30px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .custom-dropdown:focus {
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

    .custom-dropdown option {
        font-size: 16px;
        color: #333;
    }

.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
}

    .custom-checkbox input {
        opacity: 0; /* Hide the default checkbox */
        position: absolute;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .custom-checkbox .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 22px;
        width: 22px;
        background-color: #fff;
        border: 2px solid #ccc;
        border-radius: 4px;
        transition: background-color 0.3s, border-color 0.3s;
    }

    .custom-checkbox input:checked + .checkmark {
        background-color: #4CAF50; /* Green background when checked */
        border-color: #4CAF50;
    }

    .custom-checkbox .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    .custom-checkbox input:checked + .checkmark:after {
        display: block;
        left: 8px;
        top: 4px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }



.imgcontainer {
    text-align: center;
    margin: 24px 0px 12px 0;
}

img.avatar {
    width: 55%;
}

.main-div {
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 900px;
}

body#login {
    background-image: url('Images/Login_Background_Pattern.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}
/*=== Branch ===*/
.note-text {
    font-weight: normal !important;
    font-size: 14px
}
/*=== Plan ===*/
.grid-plan-page {
    height: 45rem;
    overflow-y: auto;
}
/*=== Help ===*/
.square-card {
    width: 400px;
    height: 200px;
}

.card-body-help {
    display: flex;
    align-items: center;
    justify-content: center;
}
/*=== Machines-SA ===*/
.password-text {
    font-family: Consolas !important;
}

/* Responsive: phones to tablets */
@media only screen and (max-width: 1466px) {
    .quickgrid[theme=RCM] {
        font-size: 12px;
        overflow-x: auto;
    }

        .quickgrid[theme=RCM] th,
        .quickgrid[theme=RCM] td {
            padding: 5px; /* Adjust padding for mobile */
        }

        .quickgrid[theme=RCM] .col-title.hide-on-mobile,
        .quickgrid[theme=RCM] .col-options-button.hide-on-mobile {
            display: none; /* Hide specific columns on mobile */
        }
}

@media only screen and (max-width: 992px) {
    .quickgrid[theme=RCM] {
        font-size: 12px;
        overflow-x: auto;
    }

        .quickgrid[theme=RCM] th,
        .quickgrid[theme=RCM] td {
            padding: 5px; /* Adjust padding for mobile */
        }

        .quickgrid[theme=RCM] .col-title.hide-on-mobile,
        .quickgrid[theme=RCM] .col-options-button.hide-on-mobile {
            display: none; /* Hide specific columns on mobile */
        }

    .welcome {
        padding-left: 30px;
    }

    .companyTxt {
        margin-top: 15px;
        text-align: center;
        padding-left: 0px;
    }

    .space {
        margin-left: 0px;
    }

    .custom-flex {
        display: block;
    }

    .page {
        overflow-x: auto;
    }

    .nav-item .nav-link {
        font-size: 15px;
    }
}

@media only screen and (max-width: 768px) {
    .quickgrid[theme=RCM] {
        font-size: 14px; /* Adjust font size for mobile */
    }

        .quickgrid[theme=RCM] th,
        .quickgrid[theme=RCM] td {
            padding: 8px; /* Adjust padding for mobile */
        }

        .quickgrid[theme=RCM] .col-title.hide-on-mobile,
        .quickgrid[theme=RCM] .col-options-button.hide-on-mobile {
            display: none; /* Hide specific columns on mobile */
        }

    .custom-flex {
        display: block;
    }
}

@media only screen and (max-width: 800px) {
    .quickgrid[theme=RCM] {
        font-size: 12px;
        overflow-x: auto;
    }

        .quickgrid[theme=RCM] th,
        .quickgrid[theme=RCM] td {
            padding: 5px; /* Adjust padding for mobile */
        }

        .quickgrid[theme=RCM] .col-title.hide-on-mobile,
        .quickgrid[theme=RCM] .col-options-button.hide-on-mobile {
            display: none; /* Hide specific columns on mobile */
        }

    .custom-flex {
        display: block;
    }
}

@media only screen and (max-width: 576px) {
    .custom-flex {
        display: block;
    }

    .terms-text {
        font-size: 10.5px;
    }

    .help_btn {
        padding-left: 160px;
    }

    .logo-width {
        width: 180px;
        margin-top: 45px;
    }

    .logo-width-outer {
        width: 180px;
        margin-top: 25px;
    }

    .help_btn_main {
        display: flex;
        justify-content: start;
        align-items: stretch;
        flex-direction: column;
    }

    .quickgrid[theme=RCM] {
        font-size: 12px;
        overflow-x: auto;
    }

        .quickgrid[theme=RCM] th,
        .quickgrid[theme=RCM] td {
            padding: 5px; /* Adjust padding for mobile */
        }

        .quickgrid[theme=RCM] .col-title.hide-on-mobile,
        .quickgrid[theme=RCM] .col-options-button.hide-on-mobile {
            display: none; /* Hide specific columns on mobile */
        }
}
