@import url("https://fonts.googleapis.com/css2?family=Fira+Code&family=Inter:wght@400;500;600;700&display=block");

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.align-center {
    text-align: center;
}

.hidden {
    visibility: hidden;
}

fieldset {
    margin: 0px !important;
    padding: 20px !important;
    background-color: #fff;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotate {
    animation: rotation 2s infinite linear;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.refund-page-header {
    display: flex;
    padding: 15px 15px 15px 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    background: var(--color-gray-50, #F8F8F9);
}

.refund-page-header-label {
    color: var(--color-gray-900, #2E3136);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-heading-xxl, 32px);
    font-style: normal;
    font-weight: var(--font-weight-medium, 500);
    line-height: var(--font-line-height-heading-xxl, 48px); /* 150% */
    letter-spacing: -0.32px;
    padding-bottom: 20px;
}

.refund-page-title-label {
    color: var(--color-gray-900, #2E3136);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-heading-xl, 28px);
    font-style: normal;
    font-weight: var(--font-weight-medium, 500);
    line-height: var(--font-line-height-heading-xl, 40px); /* 142.857% */
    letter-spacing: 0.28px;
    padding-top: 0px;
    margin: -10px 0px 10px 0px;
}

.refund-input {
    display: flex;
    height: var(--size-36, 36px);
    padding: 0px var(--space-md, 8px);
    align-items: center;
    gap: var(--space-md, 8px);
    align-self: stretch;
    border-radius: var(--radius-sm, 4px);
    border: 1px solid var(--color-gray-300, #C3C7CE);
    background: var(--color-white, #FFF);
    color: var(--color-text-primary, #2E3136);
    font-size: var(--font-size-body-sm, 14px) !important;
    font-style: normal !important;
    font-weight: var(--font-weight-regular, 400) !important;
    line-height: var(--size-36, 36px);
    width: 100%;
    min-width: 275px;
    max-width: 600px;
}

.refund-input:focus {
    border: none;
    border-width: 2px;
    border-color: #2E3136;
    box-shadow: none;
}

.refund-input:disabled {
    border: 1px solid #d3d3d3;
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.right-padding {
    padding-right: 10px;
}

.right-margin {
    margin-right: 10px;
}

label {
    color: var(--color-text-primary, #2E3136);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-sm, 12px);
    font-style: normal;
    font-weight: var(--font-weight-medium, 500);
    line-height: var(--font-line-height-body-sm, 16px);
    padding: 10px 0 0 0;
}

.grey-sublabel {
    color: var(--color-text-secondary, #5A5F68);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-md, 14px);
    font-style: normal;
    font-weight: var(--font-weight-regular, 400);
    line-height: var(--font-line-height-body-md, 20px); /* 142.857% */
}

.refund-card {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: var(--radius-sm, 4px);
    border: 1px solid var(--color-gray-300, #C3C7CE);
    background: var(--color-white, #FFF);
    box-shadow: 1px 2px 2px 2px #dbdbdb;
}

.align-right {
    float: right;
}

.pad-bottom {
    padding-bottom: 15px;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.ag-header-viewport {
    border-bottom: 1px solid #9696C8;
}

.flex-display {
    display: flex;
    width: 100%;
    align-items: center;
}

.npds-link {
    color: var(--color-text-link, #087EAB);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-md, 14px);
    font-style: normal;
    font-weight: var(--font-weight-semibold, 600);
    line-height: var(--font-line-height-body-md, 20px);
    vertical-align: middle;
    text-decoration: none !important;
    border: none;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    cursor: pointer;
}

.refund-no-card-page {
    width: 100%;
    padding: 10px 0px 10px 0px;
}

.refund-no-card-height {
    height: calc(100vh - 315px); /*315px -> current size of header + footer*/
}

.red-npds-icon {
    color: #D53A3A;
    vertical-align: middle;
}

/*Client Profile Details Styles*/
.refunds-settings-table {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    box-sizing: border-box;
}

/* Alternate row colors */
.refunds-setting-page-row-odd {
    display: flex;
    padding: 8px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    background: #f8f8f9; /* light gray */
}

.refunds-setting-page-row-even {
    display: flex;
    padding: 8px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    background: #ffffff; /* white */
}

/* Column layout (unchanged) */
.refunds-settings-page-column {
    padding: 4px 8px;
    box-sizing: border-box;
}

/* Label column: 35% width */
.refunds-setting-page-row-odd .refunds-settings-page-column:first-child,
.refunds-setting-page-row-even .refunds-settings-page-column:first-child {
    flex: 0 0 35%;
    max-width: 25%;
    font-weight: 600;
    color: #555;
    text-align: left;
    word-break: break-word;
}

/* Data column: remainder */
.refunds-setting-page-row-odd .refunds-settings-page-column:last-child,
.refunds-setting-page-row-even .refunds-settings-page-column:last-child {
    flex: 1 1 0%;
    text-align: left;
    word-break: break-word;
}

.scrollable {
    overflow: auto;
}

.ag-checkbox-input {
    width: 100% !important;
    margin-right: 0px !important;
}

.ag-checkbox-input-wrapper.ag-checked {
    background-color: #518036 !important;
    border: none;
}

.client-fixed-input-size {
    width: 400px;
}

.client-profile-custom-padding {
    margin-left: 10px;
}

.edit-email-templates-custom-padding {
    margin-left: 20px;
}

.email-template-row {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.email-template-label {
    width: 300px;
    flex-shrink: 0;
}

.padding-left-small {
    padding-left: 10px;
}

.padding-left-medium {
    padding-left: 25px;
}

.padding-top-small {
    padding-top: 10px;
}

.padding-bottom-small {
    padding-bottom: 10px;
}

.padding-top-medium {
    padding-top: 30px;
}

.margin-top-small {
    margin-top: 10px;
}

.margin-bottom-small {
    margin-bottom: 20px;
}

.margin-left-small {
    margin-left: 10px;
}

.margin-left-medium {
    margin-left: 25px;
}

npds-banner {
    width: 100%;
}

/* NOTE Styles  (for viewing, adding notes.) */
.note-area {
    max-width: 99%;
}

.note-input-row {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-bottom: 10px;
}

.note-input {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    padding: 6px 10px;
    font-size: 1rem;
}

.note-input:focus {
    outline: none; /* Remove default blue outline */
    border: 2px solid #000; /* Black border on focus */
    box-shadow: none; /* Remove any default shadow */
}

.refunds-buttons-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.note-row {
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--color-gray-200, #E1E2E6);
    background: var(--color-background-fill, #FFF);
}

.note-row-header {
    display: flex;
    padding: 8px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    background: #ffffff; /* white */
}
/* END NOTE Styles */

/* ACCORDION Styles */
.notes-accordion {
    width: 100%;
    margin-bottom: 20px;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    padding: 8px 0;
    user-select: none;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background-color: var(--color-gray-50, #F8F8F9);
}

.accordion-header:focus {
    outline: none;
}

.accordion-header-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-header .sectionHeading {
    margin-bottom: 0;
    margin-top: 0;
}

.accordion-chevron {
    flex-shrink: 0;
    color: var(--color-gray-700, #5A5F68);
    font-size: 20px;
}

.accordion-content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 5000px;
    opacity: 1;
}

.accordion-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.accordion-divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-gray-300, #C3C7CE);
    margin: 8px 0 16px 0;
}
/* END ACCORDION Styles */

.sectionHeading {
    margin-bottom: 20px;
    margin-top: 20px;
    display: block;
    margin-left: 10px;
    padding-left: 0px;
}

.display-hidden {
    display: none;
}

.grey-sublabel {
    color: var(--text-overlays-on-light-medium-emphasis, rgba(0, 0, 0, 0.60));
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    vertical-align: top;
}

.refunds-page-table {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.refunds-25percent-page-column {
    flex: 0 0 25%;
    max-width: 25%;
    text-align: left;
    word-break: break-word;
}

.refunds-30percent-page-column {
    flex: 0 0 30%;
    max-width: 30%;
    text-align: left;
    word-break: break-word;
}

.refunds-50percent-page-column {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left;
    word-break: break-word;
}

.refund-multiline-input {
    display: flex;
    padding: 0px var(--space-md, 8px);
    align-items: flex-start;
    align-self: stretch;
    border-radius: var(--radius-sm, 4px);
    border: 1px solid var(--color-gray-300, #C3C7CE);
    background: var(--color-white, #FFF);
    color: var(--color-text-primary, #2E3136);
    font-family: var(--font-family-base, Inter) !important;
    font-size: var(--font-size-body-sm, 14px) !important;
    font-style: normal !important;
    font-weight: var(--font-weight-regular, 400) !important;
    line-height: var(--font-line-height-body-lg, 24px) !important;
    width: 100%;
    min-height: 200px;
    max-height: 600px;
}

.refund-listbox {
    display: flex;
    padding: 0px var(--space-md, 0px);
    margin-top: 0px !important;
    border-radius: var(--radius-sm, 4px);
    border: 1px solid var(--color-gray-300, #C3C7CE);
    background: var(--color-white, #FFF);
    color: var(--color-text-primary, #2E3136);
    font-family: var(--font-family-base, Inter) !important;
    font-size: var(--font-size-body-sm, 14px) !important;
    font-style: normal !important;
    font-weight: var(--font-weight-regular, 400) !important;
    width: 100%;
    min-height: 200px;
    max-height: 300px;
}

.input-validation-error {
    border-color: darkred;
    border-width: thin medium;
}

.div-rounded-corners {
    border-radius: var(--radius-sm, 4px);
    border: 1px solid var(--color-gray-300, #C3C7CE);
    background: var(--color-white, #FFF);
    padding: 15px;
    margin: 15px;
}

.refund-header-label {
    color: var(--color-text-primary, #2E3136);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-heading-xs, 14px);
    font-style: normal;
    font-weight: var(--font-weight-semibold, 600);
    line-height: var(--font-line-height-heading-xs, 20px);
    letter-spacing: -0.14px;
}

.refund-header-label-larger {
    color: var(--color-text-primary, #2E3136);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-heading-xs, 18px);
    font-style: normal;
    font-weight: var(--font-weight-semibold, 600);
    line-height: var(--font-line-height-heading-xs, 20px);
    letter-spacing: -0.14px;
}

.light-grey-label-small {
    color: var(--color-gray-700, #5A5F68);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-sm, 12px);
    font-style: normal;
    font-weight: var(--font-weight-regular, 400);
    line-height: var(--font-line-height-body-sm, 16px); /* 133.333% */
}

.div-align-right {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.flex-display-div {
    display: flex;
}

.indicates-style {
    margin-bottom: 15px;
}

.rounded-corners {
    border: 1px solid var(--color-gray-300, #C3C7CE);
    border-radius: 4px;
}

.required-label {
    color: var(--color-text-primary, #2E3136);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.candidate-refund-disclaimer {
    color: var(--color-gray-1000, #1A1C1F);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-md, 14px);
    font-style: normal;
    font-weight: var(--font-weight-regular, 400);
    line-height: var(--font-line-height-body-md, 20px);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.candidate-refund-label {
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-heading-sm, 16px);
    font-style: normal;
    font-weight: var(--font-weight-semibold, 600);
    line-height: var(--font-line-height-heading-sm, 24px);
    letter-spacing: -0.16px;
    padding-bottom: 10px;
}

.refund-type-label {
    color: var(--color-text-primary, #2E3136);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-md, 14px);
    font-style: normal;
    font-weight: var(--font-weight-regular, 400);
    line-height: var(--font-line-height-body-md, 20px);
    padding: 15px;
}

.refund-input-encrypted {
    height: var(--size-36, 36px);
    padding: 0px var(--space-md, 8px);
    align-items: center;
    gap: var(--space-md, 8px);
    align-self: stretch;
    border-radius: var(--radius-sm, 4px);
    border: 1px solid var(--color-gray-300, #C3C7CE);
    background: var(--color-white, #FFF);
    color: var(--color-text-primary, #2E3136);
    font-family: var(--font-family-base, Inter) !important;
    font-size: var(--font-size-body-sm, 14px) !important;
    font-style: normal !important;
    font-weight: var(--font-weight-regular, 400) !important;
    width: 85%;
    min-width: 250px;
    max-width: 550px;
}

.refund-input-insert-tags {
    height: var(--size-36, 36px);
    padding: 0px var(--space-md, 8px);
    align-items: center;
    gap: var(--space-md, 8px);
    align-self: stretch;
    border-radius: var(--radius-sm, 4px);
    border: 1px solid var(--color-gray-300, #C3C7CE);
    background: var(--color-white, #FFF);
    color: var(--color-text-primary, #2E3136);
    font-family: var(--font-family-base, Inter) !important;
    font-size: var(--font-size-body-sm, 14px) !important;
    font-style: normal !important;
    font-weight: var(--font-weight-regular, 400) !important;
    width: 75%;
    min-width: 200px;
    max-width: 450px;
}

.subtitle-disc {
    color: var(--color-gray-700, #5A5F68);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-sm, 12px);
    font-style: normal;
    font-weight: var(--font-weight-regular, 400);
    line-height: var(--font-line-height-body-sm, 16px);
}

.input-field {
    width: 100%;
    max-width: 600px;
    min-width: 300px;
    height: 40px;
    padding-left: 35px;
    border-radius: var(--radius-sm, 4px);
    border: 1px solid var(--color-gray-300, #C3C7CE);
    background: var(--color-white, #FFF);
    font-family: var(--font-family-base, Inter) !important;
    font-size: var(--font-size-body-sm, 14px) !important;
    font-style: normal !important;
    color: #1A1C1F !important;
    box-shadow: none;
}

.input-field:focus {
    border-width: 2px;
    border-color: blue;
    box-shadow: none;
}

.bold {
    font-weight: bold;
}

#generalTabScrollableDiv {
    max-height: 60vh; /* Adjust as needed for your layout */
    overflow-y: auto;
    padding-left: 2px;
}

.svcMenu-dropdown-button {
    background-color: transparent;
    cursor: pointer;
}

.svcMenu-dropdown-content {
    display: none;
    position: absolute;
    border-radius: 4px;
    background: var(--Other-Background-White, #FFF);
    min-width: 160px;
    width: auto;
    white-space: nowrap;
    padding: 8px 0px;
    align-items: flex-start;
    box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12), 0px 2px 4px 0px rgba(0, 0, 0, 0.20);
    z-index: 10000;
    overflow: visible !important;
}

.svcMenu-dropdown-content a {
    color: var(--text-overlays-on-light-high-emphasis, rgba(0, 0, 0, 0.87));
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding: 12px 16px;
    display: block;
    text-align: left;
}

.svcMenu-dropdown-content a:hover {
    cursor: pointer;
}

.svcMenu-dropdown-menu-show {
    display: block;
}

.report-sub-label {
    color: var(--Misc-Heading-Lvl-2, rgba(0, 0, 0, 0.58));
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-heading-sm, 16px);
    font-style: normal;
    font-weight: var(--font-weight-semibold, 600);
    line-height: var(--font-line-height-heading-sm, 24px);
}

.error-sub-label-bold {
    color: var(--color-text-primary, #2E3136);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-heading-sm, 16px);
    font-style: normal;
    font-weight: var(--font-weight-semibold, 600);
    line-height: var(--font-line-height-heading-sm, 24px);
    letter-spacing: -0.16px;
}

.error-sub-label {
    color: var(--color-text-primary, #2E3136);
    font-family: var(--font-family-sans-serif, Inter);
    font-size: var(--font-size-body-lg, 16px);
    font-style: normal;
    font-weight: var(--font-weight-regular, 400);
    line-height: var(--font-line-height-body-lg, 24px);
    padding-top: 0px !important;
    margin-top: 0px !important;
}

.centered-div {
    width: 50%;
    margin: 0 auto;
}

/* Email Template Styles */
.email-template-card {
    padding: 24px;
    background: white;
    margin-bottom: 24px;
}

.email-template-required-indicator {
    color: var(--color-text-secondary, #5E6470);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-sm, 12px);
    font-weight: var(--font-weight-regular, 400);
    line-height: var(--font-line-height-body-sm, 16px);
}

.email-template-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.email-template-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.email-input-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.email-input-label {
    color: var(--color-text-primary, #2E3136);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-sm, 12px);
    font-weight: var(--font-weight-medium, 500);
    line-height: var(--font-line-height-body-sm, 16px);
}

.email-text-input {
    height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--color-border-default, #C3C7CE);
    border-radius: 4px;
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-md, 14px);
    line-height: var(--font-line-height-body-md, 20px);
    color: var(--color-text-primary, #2E3136);
}

.email-text-input:focus {
    outline: none;
    border-color: var(--color-border-focus, #0369B1);
    box-shadow: 0 0 0 3px rgba(3, 105, 177, 0.1);
}

.email-textarea {
    min-height: 300px;
    padding: 8px 12px;
    border: 1px solid var(--color-border-default, #C3C7CE);
    border-radius: 4px;
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-md, 14px);
    line-height: var(--font-line-height-body-md, 20px);
    color: var(--color-text-primary, #2E3136);
    resize: vertical;
}

.email-textarea:focus {
    outline: none;
    border-color: var(--color-border-focus, #0369B1);
    box-shadow: 0 0 0 3px rgba(3, 105, 177, 0.1);
}

.dynamic-tags-panel {
    width: 255px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dynamic-tags-instructions {
    color: var(--color-text-secondary, #5E6470);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-xs, 11px);
    line-height: var(--font-line-height-body-xs, 14px);
    margin-bottom: 4px;
}

.dynamic-tags-menu {
    height: 280px;
    overflow-y: auto;
    border: 1px solid var(--color-border-default, #C3C7CE);
    border-radius: 4px;
    padding: 0;
    font-family: var(--font-family-mono, 'Fira Code', monospace);
    font-size: var(--font-size-body-sm, 12px);
}

.dynamic-tags-menu option {
    padding: 8px 12px;
    cursor: pointer;
}

.dynamic-tags-menu option:hover {
    background-color: var(--color-background-hover, #F5F5F5);
}

.email-template-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .email-template-row {
        flex-direction: column;
    }

    .dynamic-tags-panel {
        width: 100%;
    }

    .dynamic-tags-menu {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .email-template-card {
        padding: 16px;
    }

    .email-textarea {
        min-height: 200px;
    }

    .email-template-card-actions npds-button {
        width: 100%;
    }
}

/* Email Template Validation Styles */
.email-validation-error {
    color: var(--color-red-600, #D53A3A);
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-body-sm, 12px);
    font-style: normal;
    font-weight: var(--font-weight-regular, 400);
    line-height: var(--font-line-height-body-sm, 16px);
    padding-top: 5px;
    display: none;
}

.email-validation-error.show {
    display: flex;
    align-items: center;
    gap: 5px;
}

.email-validation-error-border {
    box-shadow: 0px 0px 0px 1px #D53A3A;
}

/* ag-Grid horizontal scroll row border fix */
.ag-row {
    border-bottom: 1px solid var(--color-gray-200, #E1E2E6) !important;
}

.ag-row-even {
    border-bottom: 1px solid var(--color-gray-200, #E1E2E6) !important;
}

.ag-row-odd {
    border-bottom: 1px solid var(--color-gray-200, #E1E2E6) !important;
}

/* Ensure borders persist during horizontal scroll */
.ag-center-cols-viewport .ag-row,
.ag-center-cols-container .ag-row {
    border-bottom: 1px solid transparent !important;
}

/* Fix for cells within scrolled rows */
.ag-cell {
    border-bottom: 1px solid var(--color-gray-200, #E1E2E6) !important;
    box-sizing: border-box;
    box-shadow: none !important;
}

/* Fix for selected cells - use box-shadow to ensure border is visible only when grid has focus */
.ag-root-wrapper:focus-within .ag-cell-range-selected,
.ag-root-wrapper:focus-within .ag-cell-range-selected-1,
.ag-root-wrapper:focus-within .ag-cell-range-selected-2,
.ag-root-wrapper:focus-within .ag-cell-range-selected-3,
.ag-root-wrapper:focus-within .ag-cell-range-selected-4,
.ag-root-wrapper:focus-within .ag-cell-focus,
.ag-root-wrapper:focus-within .ag-cell.ag-cell-range-selected,
.ag-root-wrapper:focus-within .ag-cell.ag-cell-focus {
    box-shadow: inset 0 -1px 0 0 #0086E3 !important;
}

/* Ensure the row container maintains borders */
.ag-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--color-gray-200, #E1E2E6);
    pointer-events: none;
    z-index: 1;
}

.ag-row-hover .ag-cell,
.ag-row.ag-row-hover .ag-cell,
.ag-center-cols-container .ag-row-hover .ag-cell,
.ag-left-cols-container .ag-row-hover .ag-cell,
.ag-right-cols-container .ag-row-hover .ag-cell {
    background-color: #EBF3FF !important;
}

nbs-menu a[href*="AdminPortal"]::after,
nbs-menu [id="admin-dashboard"]::after {
    content: "";
    display: block;
    height: 1px;
    background-color: var(--color-gray-300, #C3C7CE);
    margin: 8px 0;
}

/* Fix for left nav scrolling - targets only the nav element to avoid double scrollbar */
nbs-menu > nav {
    max-height: calc(100vh - var(--xpt-header-height, 55px) - 65px);
    overflow-y: auto !important;
}

.refund-setting-label {
    color: var(--text-overlays-on-light-high-emphasis, rgba(0, 0, 0, 0.87));
    font-family: var(--font-family-base, Inter);
    font-size: var(--font-size-heading-lg, 24px);
    font-style: normal;
    font-weight: var(--font-weight-medium, 500);
    line-height: var(--font-line-height-heading-lg, 32px);
    letter-spacing: -0.24px;
}

@media (max-width: 768px) {
    .ag-paging-page-size {
        display: none !important;
    }

    .ag-paging-row-summary-panel {
        display: none !important;
    }

    .ag-paging-panel {
        justify-content: center !important;
    }
}

.block-account-input.input-error:focus {
    border-color: #D53A3A;
    box-shadow: 0 0 0 2px rgba(213, 58, 58, 0.1);
}

.block-account-error-message {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #D53A3A;
}

.block-account-error-message .error-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.block-account-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 24px 24px 24px;
    border-top: none;
}

@media (max-width: 480px) {
    .blocked-accounts-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    .block-account-modal-header,
    .block-account-modal-body,
    .block-account-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}
