/*
	This CSS file matches the color scheme from MudBlazor to Bootstrap when utilized for authentication.
	The file remains available at all times for demonstration purposes,
	but it is exclusively employed in the 'App.razor' component when authentication is enabled.
*/

:root {
    --mud-appbar-height: 70px !important;
}

.app-bar {
    position: sticky !important;
    background-color: white !important;
}

.side-nav-menu {
    background: rgba(0, 156, 78, 1);
    height: 100%
}

.mud-nav-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-left: 4px solid rgba(161, 206, 94, 0);
    min-width: 80px;
}

    .mud-nav-link .mud-icon-root {
        color: white !important;
        width: 26px;
        height: 26px;
        margin-left: 8px;
    }

.active-nav-menu-link {
    background-color: #08944c;
    border-left: 4px solid rgba(161, 206, 94, 1);
}

    .active-nav-menu-link .mud-nav-link-text p {
        font-weight: 500;
        color: white;
        font-size: 16px
    }

.collapsed {
    transform: rotate(180deg);
    transition: transform 0.2s;
}

.expanded {
    transform: rotate(0deg);
    transition: transform 0.2s;
}

.employee-avatar {
    outline: solid 1px rgb(32, 197, 93, 1)
}

@media (max-width: 600px) {
    .employee-name {
        display: none;
    }
}

.btn-primary {
    text-transform: uppercase;
    --bs-btn-bg: var(--mud-palette-primary) !important;
    --bs-btn-hover-bg: var(--mud-palette-primary-darken) !important;
}

.nav-pills {
    --bs-nav-pills-link-active-bg: var(--mud-palette-primary) !important;
}

.nav {
    --bs-nav-link-color: var(--mud-palette-primary) !important;
    --bs-nav-link-hover-color: var(--mud-palette-primary-darken) !important;
}

.mud-input,
.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: 0.875rem !important; /* 1 rem is default */
}

.mud-table-sticky-header * .mud-table-root .mud-table-head * .mud-table-cell.sticky-left, .mud-table-sticky-header * .mud-table-root .mud-table-head * .mud-table-cell.sticky-right {
    z-index: 3;
    background-color: var(--mud-palette-background-grey);
}

.mud-table-sticky-footer * .mud-table-root .mud-table-foot * .mud-table-cell.sticky-left, .mud-table-sticky-footer * .mud-table-root .mud-table-foot * .mud-table-cell.sticky-right {
    z-index: 3;
    background-color: var(--mud-palette-background-grey);
}

.visible-on-hover .mud-input-control-helper-container p {
    white-space: nowrap;
}

.custom-align-right input {
    text-align: right;
}

.disabled-text {
    color: rgba(0, 0, 0, 0.6) !important;
    cursor: default !important;
    pointer-events: none;
}

.thisInput {
    max-width: 100% !important;
}

    .thisInput label {
        background-color: white !important;
    }
    
    .clear-paragraph p {
        font: unset;
        color: unset;
        opacity: 0.5;
    }

.IsUserActive-switch {
}

    .IsUserActive-switch label {
        margin-left: 0;
        margin-inline-start: 0;
    }

.parent-simple-table {
    position: relative;
    width: 100%;
}

    .parent-simple-table table {
        height: 100%;
    }

    .parent-simple-table td, .parent-simple-table th {
        padding: 8px !important;
    }

.pricing-matrix-table td, .pricing-matrix-table th,
.proposal-table td, .proposal-table th,
.account-breaker-table td, .account-breaker-table th {
    width: 1%;
}

.sales-parent-simple-table {
    position: relative;
    width: 100%;
}

    .sales-parent-simple-table table {
        height: 100%;
    }

    .sales-parent-simple-table td, .sales-parent-simple-table th {
        padding: 6px !important;
    }

.skel-parent-simple-table {
    position: relative;
}

    .skel-parent-simple-table table {
        height: 100%;
    }

    .skel-parent-simple-table td, .skel-parent-simple-table th {
        padding: 12px !important;
    }

.pricing-matrix-table thead th:first-child {
    text-align: left !important;
}

.icon-button{
    opacity: 1;
}

.hidden-icon-button {
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.visible-on-hover:hover .hidden-icon-button {
    opacity: 1;
}

.upskilling-switch {
}

    .upskilling-switch label {
        margin-left: 0;
        margin-inline-start: 0;
    }

.mud-select:has(> .statusSelect) {
    flex-grow: 0;
}

.billing-filter-input, .pricing-calc-filter-input, .teamrequest-filter-input, .salesreport-filter-input {
    max-width: 200px !important;
}

    .billing-filter-input label, .pricing-calc-filter-input label, .talent-filter-input label, .teamrequest-filter-input label, .salesreport-filter-input label {
        background-color: #f6f6f6;
    }

.talent-filter-input {
    max-width: 200px;
    min-width: 200px;
}

.select-client {
    width: 50%
}

.talent-sort-select {
    max-width: fit-content;
    flex-grow: 0;
}

    .talent-sort-select label {
        background-color: #f6f6f6;
    }

.parent-mud-grid {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

    .parent-mud-grid .mud-table-cell {
        padding: 6px !important;
    }

    .parent-mud-grid > :last-child {
        flex-shrink: 0;
    }

.sort-asc {
    transform: rotate(180deg);
    transition: transform 0.2s;
}

.sort-desc {
    transform: rotate(0deg);
    transition: transform 0.2s;
}

.upskilling-tooltip .mud-tooltip-root.mud-tooltip-inline {
    vertical-align: middle;
}

.chip {
    background-color: #F5F5F5;
    color: #7B7B7B;
    padding: 2px 8px;
    height: fit-content;
    border-radius: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    font-weight: 500;
}

.status-yet-to-start {
    background-color: #F5F5F5;
    color: #7B7B7B;
}

.status-pip {
    background-color: #FDF5F5;
    color: #B71E1E;
}

.status-partial {
    background-color: #FFF5DB;
    color: #D1A300;
}

.status-ending {
    background-color: #FFEBE0;
    color: #F15E3E;
}

.status-available {
    background-color: #D3F3E3BF;
    color: #076F3B;
}

.status-cleared {
    background-color: #E0F2F1;
    color: #00A19D;
}

.status-engaged {
    background-color: #d2e8d1;
    color: #006400;
}

.status-pdp {
    background-color: #fae0f7;
    color: #ff008c;
}

.status-pre-vetted {
    background-color: #D3F3E3BF;
    color: #076F3B;
}

.status-project-based {
    background-color: #FFF5DB;
    color: #D1A300;
}

.status-end-of-contract {
    background-color: #FFEBE0;
    color: #F15E3E;
}

.rating-sad {
    background-color: #FFE9E9;
    color: #FF3B30;
}

.rating-neutral {
    background-color: #E9EFFF;
    color: #007AFF;
}

.rating-happy {
    background-color: #DEF6EA;
    color: #009C4E;
}

.rating-card-sad {
    background-color: #F9E6EC;
}

.rating-card-neutral {
    background-color: #E6F8FB;
}

.rating-card-happy {
    background-color: #E6F9EF;
}

.profile-update-status-for-update {
    background-color: #F5F5F5;
    color: #7B7B7B;
}

.profile-update-status-in-progress-content {
    background-color: #FDF5F5;
    color: #B71E1E;
}

.profile-update-status-in-progress-image {
    background-color: #FFEBE0;
    color: #F15E3E;
}

.profile-update-status-in-progress-video {
    background-color: #FFF5DB;
    color: #D1A300;
}

.profile-update-status-in-review {
    background-color: #E0F2F1;
    color: #00A19D;
}

.profile-update-status-up-to-date {
    background-color: #D3F3E3BF;
    color: #076F3B;
}

.custom-dropdown {
    min-width: 120px;
}

.update-availability-popup {
    min-width: 350px;
}

/*.update-availability-popup-header::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    border-left: 10px solid transparent;*/
/*    border-right: 10px solid transparent;*/
/*    border-bottom: 20px solid #08944c;*/
/*}*/

.update-availability-popup-header {
    background-color: #08944c;
    color: white;
    height: 30px;
}

.custom-menu-instance .mud-button-label, .mud-button-text {
    text-transform: none !important;
}

.monthly-billing-table .mud-table-container {
    height: 100%;
}

.monthly-billing-table-header {
    top: 0;
    position: sticky;
    z-index: 1;
}

.custom-salesnote-tooltip {
    background-color: #999999;
    color: white;
    max-width: 600px;
    text-align: justify;
}

.custom-salesnote-texttooltip {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    display: block;
}

.performance-review-expansion-panel {
    background-color: #DBE0EB;
}

.performance-review-panel-content {
    background-color: white;
}

.change-history-expansion-panel {
    background-color: #F6F6F6;
}

/* Custom Snackbar color for fail/info case (I added this upon request to change the snackbar color on the Monthly Billing page, specifically when there�s a failed export)*/
.mud-alert-filled-info {
    background-color: #F87F22 !important;
    color: #fff !important;
}