/* Profile Page2 */
.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.position-relative {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}

.head-official-assignment {
    opacity: 1 !important;
}

.position-relative:hover .overlay {
    opacity: 1;
}

.profile-text {
    font-size: 34px;
    font-weight: bold;
    color: #131316;
    margin-bottom: 4px;
}

.profile-subtext {
    font-size: 18px;
    color: #131316;
    margin-bottom: 0px;
}

/* Profile Tabs */
.profile-container {
    background-color: white;
    border-radius: 10px;
    padding: 12px 0;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1400px) {
    .custom-col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .custom-col-lg-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}

@media (min-width: 1400px) {
    .profile-container {
        width: 264px;
    }
}

@media (min-width: 1400px) {
    .ml-lg-4 {
        margin-left: 1.5rem;
    }
}

.profile-group-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    border: none;
    height: 64px;
}

.profile-group-item span {
    margin-left: 16px;
    font-size: 16px;
    color: #5A5A72;
    font-weight: 400;
}

.profile-group-item .custom-nav-link i {
    width: 25px;
    height: 25px;
    font-size: 25px;
    color: #5A5A72;
    margin-left: 20px;
}

.profile-group-item .custom-nav-link:not(.active) span {
    color: #5A5A72;
    font-weight: 400;
}

.profile-group-item .custom-nav-link {
    padding: 0;
    height: 64px;
    justify-content: flex-start;
    background-color: #ffffff !important;
    border: 0;
}

/* Selected Item Styles */
.profile-group-item .custom-nav-link.active i {
    color: #000;
}

.profile-group-item .custom-nav-link.active {
    background-color: #F5F5F8 !important;
    border-left: 5px solid #0E4D92;
}

.profile-group-item .custom-nav-link.active span {
    color: #000;
    font-weight: 600;
}

.profile-content-container {
    background-color: white;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* Event Tabs */
.custom-tabs {
    position: relative;
    border-bottom: 1px solid #A6A6BB;
    display: flex;
    align-items: center;
}

.custom-tabs .nav-tab {
    width: 146px;
    text-align: center;
}

.custom-tabs .nav-link {
    color: #131316;
    font-size: 16px;
    padding: 24px 0;
    border: none;
    background-color: transparent;
    position: relative;
}

.custom-tabs .nav-link.active {
    color: #131316;
    border-bottom: 3px solid #0E4D92;
    background-color: transparent;
}

.custom-tabs .nav-link:hover,
.custom-tabs .nav-link:focus {
    border-bottom-color: #0E4D92 !important;
}

.custom-tabs .custom-btn {
    background-color: #0E4D92;
    border-color: #0E4D92;
}

.custom-tabs .custom-btn:hover {
    background-color: #093D74;
}

/* Event Card */
.assignor-event-card {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
}

.image-section {
    flex-basis: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}

.tournament-info {
    flex-basis: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tournament-info .tournament-name {
    color: #131316;
    font-size: 20px;
    font-weight: bold;
}

.tournament-info .organization-info {
    color: #131316;
    font-size: 14px;
}

.location-info {
    flex-basis: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #131316;
}

.status {
    color: #036D5C;
    font-size: 14px;
}

.date-info {
    flex-basis: 20%;
    display: flex;
    align-items: flex-start;
    color: #131316;
}

.divider-svg {
    margin-right: 10px;
    margin-top: 7px;
}

.date-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.match-info {
    flex-basis: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


.match-info .accepted {
    color: #131316;
    font-size: 18px;
    font-weight: bold;
}

.match-info .status-text {
    color: #131316;
    font-size: 16px;
}

.pending-count {
    color: #68687D;
    font-size: 14px;
    margin-top: 8px;
}

.pending-text {
    color: #68687D;
    font-size: 14px;
}

.end-svg {
    margin-left: auto;
    margin-right: 8px;
}

/* Event */
.assignor-event-card {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
}

.image-section {
    flex-basis: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}

.tournament-info {
    flex-basis: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tournament-info .tournament-name {
    color: #131316;
    font-size: 20px;
    font-weight: bold;
}

.tournament-info .organization-info {
    color: #131316;
    font-size: 14px;
}

.location-info {
    flex-basis: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #131316;
}

.status {
    color: #036D5C;
    font-size: 14px;
}

.date-info {
    flex-basis: 20%;
    display: flex;
    align-items: flex-start;
    color: #131316;
}

.divider-svg {
    margin-right: 10px;
    margin-top: 7px;
}

.date-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.match-info {
    flex-basis: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


.match-info .accepted {
    color: #131316;
    font-size: 18px;
    font-weight: bold;
}

.match-info .status-text {
    color: #131316;
    font-size: 16px;
}

.pending-count {
    color: #68687D;
    font-size: 14px;
    margin-top: 8px;
}

.pending-text {
    color: #68687D;
    font-size: 14px;
}

.end-svg {
    margin-left: auto;
    margin-right: 8px;
}


/* Event Details */
#tournament-description p {
    color: #131316 !important;
}

#tournament-description h2 {
    color: #131316 !important;
    font-size: 1.5rem !important;
}

#tournament-description h1 {
    color: #131316 !important;
    font-size: 2rem !important;
}

/* Event Dashboard */

/* General */
.p-dropdown-items {
    padding: 0.75rem 0 !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.p-button {
    border-radius: 6px !important;
}

.p-button.p-button-rounded {
    border-radius: 2rem !important;
}

.p-button.p-button-outlined {
    background-color: transparent;
    border: 1px solid;
}

.p-fileupload .p-fileupload-buttonbar .p-button {
    margin-right: 0;
}

.-mt-4 {
    margin-top: -1.5rem;
}

.text-900 {
    color: #212121 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.font-light {
    color: #9E9E9E !important;
}

.custom-error-text {
    font-size: 14px;
}

/* Form Base */
.selectable-item {
    color: #9ba0bc;
    font-weight: normal;
    position: relative;
}

.selectable-item.active {
    font-weight: 600;
    color: #061257;
}

.selectable-item.active::before {
    content: "";
    position: absolute;
    left: -13px;
    width: 3px;
    height: 20px;
    background-color: #061257;
    border-radius: 4px;
}

.selectable-item.disabled {
    pointer-events: none;
    cursor: default;
}


.nav-item {
    margin-bottom: 10px;
}

.btn-next {
    background-color: #0E4D92;
    color: #fff;
    border-radius: 24px;
    width: 100%;
}

.btn-back {
    background-color: #F4F7FF !important;
    color: #0E4D92;
    border-radius: 24px;
}

/* Flex-grow allows the content to take up available space */
.tab-content {
    flex-grow: 1;
    padding: 0;
}

@media (max-width: 767.98px) {
    .rounded-on-small {
        border-radius: 20px;
    }
}

@media (min-width: 768px) {
    .rounded-on-small {
        border-radius: 0;
    }
}

.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody>tr>td {
    border-width: 0 0 1px 1px !important;
    border-color: #e5e7eb !important;
}

.p-datatable.p-datatable-gridlines .p-datatable-thead>tr>th {
    border-width: 1px 0 1px 1px !important;
    border-color: #e5e7eb !important;
}

.certification-unrated {
    background-color: #24963E !important;
}

.certification-foreign-guest {
    background-color: #6526A1 !important;
}

.certification-provisional {
    background-color: #6C757D !important;
}

.certification-regional {
    background-color: #DF2520 !important;
}

.certification-jr-national {
    background-color: #2D5784 !important;
}

.certification-national {
    background-color: #B49504 !important;
}

.certification-international {
    background-color: #FE7E34 !important;
}

.certification-circle {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 11px;
    color: white;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
}

.status-accepted {
    color: #24963E !important;
}

.status-waitlisted {
    color: #FE7E34 !important;
}

.status-denied {
    color: #DF2520 !important;
}

.status-pending {
    color: #0090FA !important;
}

.status-withdrawn {
    color: gray !important;
}

.bg-selected {
    background-color: #0E4D92;
    color: #ffffff;
}

/* Officials Modal */
.p-tabview-nav {
    padding-left: 0 !important;
}

/* Assigning */
.gray-border {
    border-color: #D9DEE3;
}

.br1 {
    border-right: 1px solid #D9DEE3;
}

.daily-match {
    background-color: #6c757d;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 18px;
    margin-right: 8px;
}

.total-match {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 18px;
}

.court-header {
    background-color: #F7F7F7 !important;
    color: #131316 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    width: 230px !important;
    text-align: center !important;
}

.empty-cell {
    background-color: #F7F7F7;
    width: 230px;
}

.time-cell {
    background-color: #F7F7F7 !important;
    width: 230px !important;
    color: #131316 !important;
    font-weight: 700 !important;
}

.match-cell {
    border: 1px solid #D9DEE3 !important;
    padding: 0px !important;
    min-width: 230px !important;
    background-color: #ffffff !important;
}

.top-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.match-division {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: black !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.match-division-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #D9DEE3;
    padding-bottom: 3px;
    padding-top: 3px;
    padding-left: 8px;
    padding-right: 3px;
}

.middle-section {
    flex-grow: 1;
    border-bottom: 1px solid #D9DEE3;
}

.type-section {
    flex-grow: 1;
    border-bottom: 1px solid #D9DEE3;
    background-color: #FFFF00;
}

.cancel-section {
    flex-grow: 1;
    border-bottom: 1px solid #D9DEE3;
    background-color: #DF2520;
}

.assignments-column {
    padding: 6px;
}

.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3px;
    padding-bottom: 3px;
}

.match-assignment-status {
    margin-left: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.match-icons {
    color: black;
    margin-right: 8px;
    font-weight: 600;
    font-size: 20px;
}

.trash-container {
    width: 37px;
    height: 37px;
    min-width: 37px;
    min-height: 37px;
    background-color: #F3F3F6;
    border-radius: 6px;
}

.trash-icon {
    font-size: 20px;
    color: #88838A;
}

.assignment-position {
    font-size: 15px;
    color: #000000;
    font-weight: 600;
    padding: 5px;
}

.assignment-cell-group {
    height: 37px;
}

.tournament-grid {
    max-height: calc(100vh - 20.672px);
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.tournament-grid-container {
    position: relative;
}

.tournament-grid .table thead th {
    position: sticky;
    top: 0;
    /* Sticks the header to the top */
    z-index: 1;
    /* Ensures the header is above other cells */
}

.tournament-grid .table tbody td.time-cell,
.tournament-grid .table thead th.time-header {
    position: sticky;
    left: 0;
    /* Sticks the first column to the left */
    z-index: 2;
    /* Ensures it stacks correctly */
    border: 1px solid #d9dee3;
}

.grid-select {
    height: 37px !important;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.grid-select .p-dropdown-trigger {
    display: none;
}

.grid-select .p-dropdown-label {
    padding: 0;
    font-size: 14px;
    width: 100%;
    color: #131316;
    font-weight: 600;
}

.grid-selected {
    border: 2px solid #0e4d92 !important;
}

.flagged .p-menuitem-content .p-menuitem-link .p-menuitem-icon,
.flagged .p-menuitem-content .p-menuitem-link .p-menuitem-text {
    color: #0e4d92 !important;
}

.clear .p-menuitem-content .p-menuitem-link .p-menuitem-icon,
.clear .p-menuitem-content .p-menuitem-link .p-menuitem-text {
    color: #C80815 !important;
}

.comments .p-menuitem-content .p-menuitem-link .p-menuitem-icon,
.comments .p-menuitem-content .p-menuitem-link .p-menuitem-text {
    color: #6526A1 !important;
}

.final .p-menuitem-content .p-menuitem-link .p-menuitem-icon,
.final .p-menuitem-content .p-menuitem-link .p-menuitem-text {
    color: #ccac00 !important;
}

.publish .p-menuitem-content .p-menuitem-link .p-menuitem-icon,
.publish .p-menuitem-content .p-menuitem-link .p-menuitem-text {
    color: #25963E !important;
}

.clear {
    color: #C80815 !important;
}

.comments {
    color: #6526A1 !important;
}

.final {
    color: #ccac00 !important;
}

.publish {
    color: #25963E !important;
}

.p-contextmenu-root-list {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.table {
    height: 100%;
}

.time-header {
    width: 230px !important;
    color: #131316 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    background-color: #F7F7F7 !important;
}

/* Assigning Officials */
.striped {
    background-color: #F7F7F7;
}

.white {
    background-color: #ffffff;
}

.assigned-row {
    background-color: #24963E !important;
    color: white !important;
}

.assigned-row a {
    color: white !important;
    font-weight: 600;
}

.official-selected {
    background-color: #CFDBE9 !important;
    color: #131316 !important;
}

.official-selected a {
    color: #0E4D92 !important;
}

/* Officials List */
.filter-icon-container {
    width: 40px;
    height: 40px;
    border: 1px solid #d9dee3;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #ffffff;
}

.filter-icon {
    font-size: 20px;
}

.dropdown-menu {
    padding: 10px;
}

.dropdown-menu.show {
    z-index: 3000;
}

.dropdown-menu input {
    margin-right: 10px;
}

.filter-height {
    height: 40px;
}

.filter-dropdown-padding,
.date-dropdown {
    padding: 4px 8px !important;
}

.filter-dropdown-padding .p-dropdown-trigger,
.date-dropdown .p-dropdown-trigger {
    width: 1rem;
}

.filter-dropdown-padding .p-dropdown-label {
    padding: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 14px;
}

.date-dropdown .p-dropdown-label {
    padding: 0;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 14px;
}

.division-dropdown {
    padding: 4px 8px !important;
}

.division-dropdown .p-multiselect-label {
    padding: 4px;
    font-size: 14px;
    color: #4b5563;
}

.division-dropdown .p-multiselect-trigger {
    width: 1rem;
}

.time-dropdown .p-dropdown-label {
    padding: 0;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 14px;
}

.time-dropdown .p-dropdown-label {
    padding: 0;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 14px;
    color: #131316;
}

.time-dropdown .p-dropdown-trigger {
    display: none;
}

.p-multiselect-label-container {
    display: flex;
    align-items: center;
    justify-content: start;
}

.p-multiselect-items {
    margin-bottom: 0;
    padding: 0;
}

.pattern-dropdown .p-dropdown-label {
    padding: 4px;
    font-size: 14px;
    color: #131316;
}

.pattern-dropdown .p-dropdown-trigger {
    display: none;
}

.btn-blue {
    color: #fff;
    background-color: #0090FA;
    border-color: #0090FA;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 144, 250, 0.4);
}

.btn-blue:hover,
.btn-blue:active {
    color: #fff !important;
    background-color: #66bcfc !important;
    border-color: #66bcfc !important;
    transform: translateY(-1px) !important;
}

.btn-blue-outline {
    color: #0090FA;
    border-color: #0090FA;
    background-color: transparent;
}

.btn-blue-outline:hover,
.btn-blue-outline:active {
    background-color: #0090FA;
    color: #fff;
}

.ui-tooltip {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}


.pattern-assigning,
.pattern-assigning .p-checkbox-box {
    width: 18px;
    height: 18px;
}

.court-header.column-selected {
    background-color: #0e4d92 !important;
    color: #fff !important;
    border: 1px solid #0e4d92;
}

.invalid .input-group-text {
    border: 1px solid #C80815;
}

.invalid .grid-select {
    border: 1px solid #C80815;
}

.p-splitbutton-defaultbutton {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding: 0.25rem 0.75rem !important;
}

.p-splitbutton-menubutton {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding: 0.5rem !important;
    width: 2rem !important;
}

.p-tieredmenu .p-tieredmenu-root-list {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.p-tieredmenu {
    width: 10rem !important;
}

.form-heading {
    color: #061257;
}

.text-offblack {
    color: #131316 !important;
}

.hint-container {
    display: flex;
    align-items: flex-start;
    border-radius: 10px;
    padding: 10px 21px 21px 10px;
    background-color: #f9f9f9;
    /* Example background, adjust for each type */
}

.hint-container.info {
    background-color: #eaf4ff;
    border: 1px solid #0e4d92;
}

.hint-container.warning {
    background-color: #fffbea;
    border: 1px solid #ffc107;
}

.hint-container.error {
    background-color: #ffeaea;
    border: 1px solid #dc3545;
}

.hint-title {
    font-size: 16px;
    font-weight: bold;
    color: #061257;
    margin-bottom: 5px;
}

.hint-text {
    font-size: 16px;
    color: #5a5a72;
}

.react-international-phone-country-selector-button {
    height: 50px !important;
}

.p-invalid {
    border-color: #e24c4c !important;
}

.p-invalid .react-international-phone-country-selector .react-international-phone-country-selector-button {
    border-color: #e24c4c !important;
}

.p-inputotp-input {
    width: 4rem;
    height: 4rem;
    color: #131316;
    font-size: 24px;
}

@media (max-width: 600px) {
    .p-inputotp-input {
        width: 3rem;
        height: 3rem;
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .p-inputotp-input {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 18px;
    }
}

.react-international-phone-input {
    color: #4b5563 !important;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: all;
}

.p-datepicker-calendar th {
    text-align: center;
    vertical-align: middle;
}

.p-paginator .p-paginator-pages .p-paginator-page {
    border-radius: 50% !important;
}

#paytable_tabview .p-tabview-panels {
    padding: 0 !important;
}

#paytable_tabview .p-tabview-nav li.p-highlight .p-tabview-nav-link {
    background: #ffffff;
    border-color: #0E4D92;
    color: #0E4D92;
}

.p-checkbox.p-highlight .p-checkbox-box {
    border-color: #0E4D92;
    background: #0E4D92;
}

.filter-dropdown .p-multiselect-label-container {
    justify-content: left;
}

.react-international-phone-input-container .react-international-phone-input--disabled {
    background-color: transparent !important;
    color: #4b5563 !important;
    opacity: 0.6 !important;
    /* Added opacity */
}

.react-international-phone-country-selector-button--disabled {
    background-color: transparent !important;
    cursor: auto;
    opacity: 0.6 !important;
}

.ant-picker {
    padding: 0.75rem 0.75rem !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s !important;
    border-radius: 6px !important;
}

.ant-picker-input input::placeholder {
    color: #6b7280 !important;
}

.p-dropdown-panel {
    z-index: 2000 !important;
}

.p-contextmenu {
    z-index: 2000 !important;
}

.ant-picker-dropdown {
    z-index: 2000 !important;
}

.mantine-Paper-root {
    z-index: 2000 !important;
}

.p-picklist-list-wrapper .p-picklist-list {
    margin: 0 !important;
    padding-left: 0px !important;
}

.p-picklist-source-controls,
.p-picklist-buttons,
.p-picklist-target-controls {
    gap: 10px !important;
}

.p-button {
    background: #0E4D92;
    border: 1px solid #0E4D92;
}

.p-sidebar-header {
    font-size: 20px;
    color: black;
    font-weight: 600;
}

.p-0 .p-accordion-content {
    padding: 0 !important;
}

.p-treetable-gridlines td,
.p-treetable-gridlines th {
    border-color: #e5e7eb !important;
    border-width: 1px !important;
}

.scroll-bottom-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    background-color: #0E4D92;
    color: white;
    font-size: 14px;
    gap: 0.5rem;
    z-index: 10;
    text-transform: uppercase;
    font-weight: 700;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.scroll-bottom-bar i {
    font-size: 16px;
    line-height: 1;
}

.scores-input .p-inputnumber-input {
    width: 100%;
}

.procedures .card-body p, .procedures .card-body ul {
    margin-bottom: 0px;
}

.p-confirm-dialog .p-dialog-footer .p-confirm-dialog-reject {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #0E4D92 !important;
}

.menu .app-brand {
  height: 64px;
  margin-top: 12px;
}

/* Base button */
.custom-select-button .p-button {
    border: 1px solid rgb(209, 213, 219) !important;
    background: white !important;
    color: rgb(107, 114, 128) !important;
    font-weight: 500;
}

/* Remove rounded group issue */
.custom-select-button .p-button:not(:last-child) {
    border-right: none !important;
}

/* Active / Selected */
.custom-select-button .p-highlight {
    background: rgb(14, 77, 146) !important;
    color: white !important;
    border-color: rgb(14, 77, 146) !important;
}

/* Hover (inactive) */
.custom-select-button .p-button:not(.p-highlight):hover {
    background: rgb(243, 244, 246) !important;
}

/* Hover active */
.custom-select-button .p-highlight:hover {
    background: rgb(12, 65, 125) !important;
}

.p-listbox-list {
    padding: 0 !important;
}

.rt-overlay {
  position: absolute;
  top: 0;
  right: 0px;
  bottom: 12px;

  display: flex;
  align-items: stretch;

  pointer-events: none;
  z-index: 1100;
}

.rt-panel,
.rt-tabs,
.rt-tab {
  pointer-events: auto;
}

.rt-panel-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;

  width: calc(var(--rt-panel-width) + 10px + 30px);

  background: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);

  z-index: 0;
  pointer-events: none;
}

.rt-panel {
  position: relative;

  width: fit-content;
  min-width: 200px;
  max-width: 60vw;

  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;

  transform: translateX(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 1;
  scrollbar-gutter: stable;
}

.rt-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.rt-panel-content {
  padding: 10px;
  width: max-content;
}

.rt-tabs {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 2;
}


/* Tab button - flat edge on the RIGHT, rounded on LEFT */
.rt-tab {
  width: 30px;   /* becomes "height" visually once label is rotated */
  height: 140px; /* all same size */

  background: #0E4D92;
  cursor: pointer;
  outline: none;

  /* 1px white border except RIGHT side */
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-right: none;

  /* Rounded top-left and bottom-left corners */
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: -1px;
  transition: transform 180ms ease, background-color 120ms ease;
}

/* Rotated label (vertical text) */
.rt-tab-label {
  display: inline-block;
  transform: rotate(-90deg); /* rotate so it reads bottom->top */
  transform-origin: center;

  color: #fff;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
}

.rt-tab.active {
  transform: translateX(calc(-1 * (var(--rt-bg-width))));
  z-index: 3;
}