@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');

/*.upload-box {
    border: 2px dashed #444;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .upload-box:hover {
        background-color: #f5f5f5;
    }

.uploaded-box {
    border: 2px dashed #444;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
}*/

.upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    height: 100px;
    justify-content: center;
    padding: 4rem;
}

.uploaded-box {
    background-color: #a6dca6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 2rem; /* reduce padding if needed */
    min-height: 100px; /* optional: ensures a base height */
    height: auto; /* allow to grow with content */
}

.upload-box p, .uploaded-box p {
    text-align: center;
}

.mud-appbar {
    width: 100%;
    display: flex;
    z-index: var(--mud-zindex-appbar);
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
    flex-direction: column;
    color: var(--mud-palette-appbar-text);
    background-color: rgb(21, 94, 125) !important;
    transition: margin 225ms cubic-bezier(0, 0, 0.2, 1) 0ms,width 225ms cubic-bezier(0, 0, 0.2, 1) 0ms
}

.block-breadcrumb__name {
    font-weight: 700;
    font-size: 18px;
    line-height: 25.2px;
    color: #fff !important;
}

.loading {
    background-color: rgba(0, 0, 0,.3) !important;
}

    .loading .mud-progress-circular-svg {
        color: #155e7d !important;
    }

    .loading .mud-progress-circular-percentage {
        color: #155e7d !important;
    }

/*for login page*/
.registered__email__container {
    background-image: url('../images/login-background.jpg');
    background-repeat: no-repeat;
    background-color: transparent !important;
    background-position: center;
    background-size: cover;
}

.registered__email__form {
    background-color: transparent !important;
    background-position: center;
    color: white;
}

.login-input .mud-input > input.mud-input-root {
    color: #FFFFFF !important;
}

    .login-input .mud-input > input.mud-input-root::placeholder {
        color: rgba(255, 255, 255, 1) !important;
        opacity: 0.9 !important;
        font-weight: 450;
    }


.registered__email__form {
    background-color: transparent !important;
    background-position: center;
}

.login-input .mud-input.mud-input-outlined .mud-input-outlined-border {
    border-radius: 20px;
    margin: 0 !important;
    padding: 0 !important;
}

.login-input .mud-input > input.mud-input-root-outlined.mud-input-root:-webkit-autofill {
    border-radius: 20px;
}

.login-input .mud-input.mud-input-outlined:hover .mud-input-outlined-border,
.login-input .mud-input.mud-input-outlined:focus-within .mud-input-outlined-border {
    border-color: rgb(189 189 189) !important;
}

.login-input .mud-input > input.mud-input-root-outlined.mud-input-root-margin-dense {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    font-size: 0.875rem !important;
}

.login-input .mud-icon-root.mud-svg-icon {
    fill: #ffffff80;
}

/*.login-input.has-password .mud-icon-root.mud-svg-icon {
    fill: #858998;
}

.login-input.has-password .mud-input.mud-input-outlined.mud-input-adorned-end {
    background-color: #e8f0fe !important;
    border-radius: 20px;
}*/

.login-button {
    border: 1px solid white;
    border-radius: 20px;
    height: 30px;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    font-size: 0.875rem !important;
    color: white !important;
    font-weight: bold;
}

.login-button-enabled {
    position: relative;
    overflow: hidden;
    background-color: #3c445d !important;
    transition: background-color 0.3s ease;
}

    /* Ripple effect on hover */
    .login-button-enabled:hover::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 200%;
        height: 200%;
        background: radial-gradient( circle, rgba(0, 255, 255, 0.4) 10%, /* Bright cyan */
        rgba(0, 123, 255, 0.3) 30%, /* Vivid blue */
        rgba(138, 43, 226, 0.2) 50%, /* Electric violet */
        transparent 70% );
        transform: translate(-50%, -50%) scale(0);
        animation: ripple-hover 1.2s linear infinite;
        pointer-events: none;
        z-index: 0;
    }

.registered__email__form .mud-button-root:disabled {
    color: white !important;
    font-weight: bold;
}

/* Ripple animation keyframes */
@keyframes ripple-hover {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Ensure button content stays above ripple */
.login-button-enabled > * {
    position: relative;
    z-index: 1;
}

.PDT-logo, .IDP-logo {
    font-family: 'Righteous', cursive;
    background: radial-gradient(circle at center, #5fa8ff 0%, #b8dcff 30%, #ffffff 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 24px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.PDT-logo {
    font-size: 20px;
}

.IDP-logo {
    font-size: 26px;
}

.registered__email {
    background-color: transparent !important;
}

.registered__email__form--logo {
    margin-bottom: 30px;
}

.registered__email__form--forgot__password {
    background: linear-gradient(90deg, #ffffff, #84b6f4, #5c8ddb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*For logout in menu*/
.nav__user.logout {
    background-color: #155e7d;
    color: white;
}

/*general css*/
.mud-button-filled-primary {
    background-color: #ffffff !important;
    color: #155e7d !important;
    border: 1px solid #155e7d;
    padding: 4px 12px;
}

    .mud-button-filled-primary:hover {
        background-color: #155e7d !important;
        color: #ffffff !important;
    }

    .mud-button-filled-primary:focus {
        background-color: #155e7d !important;
        color: #ffffff !important;
    }

.mud-icon-button:not(:disabled) {
    color: #155e7d !important;
}

    .mud-icon-button:not(:disabled):hover {
        background-color: rgb(21 94 125 / 20%) !important;
    }


    .cancel-button {
    border: 1px solid rgba(21, 94, 125, 0.4) !important;
    color: #155e7d !important;
}

    .cancel-button:hover {
        border: 1px solid #155e7d !important;
    }


.popup-dialog__button-container .popup-dialog__button--primary_filled {
    background: linear-gradient(70.15deg, #2c5a6e 16.67%, #2893b8 100%);
    color: #ffffff;
    transition: box-shadow 0.2s ease;
}

    .popup-dialog__button-container .popup-dialog__button--primary_filled:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    }

.popup-dialog__button-container .popup-dialog__button--primary_outlined {
    background: transparent;
    border: 1px solid #155e7d;
    transition: box-shadow 0.2s ease;
}

    .popup-dialog__button-container .popup-dialog__button--primary_outlined:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .popup-dialog__button-container .popup-dialog__button--primary_outlined .popup-dialog__button-text {
        color: #155e7d !important;
    }


/* ACTIVE nav link */
.mud-nav-link.active {
    background-color: rgba(21, 94, 125, 0.1) !important; /* soft background */
    border-right: 3px solid #155e7d !important;
    color: #155e7d !important;
}

    /* ACTIVE icon and text */
    .mud-nav-link.active .mud-nav-link-text,
    .mud-nav-link.active .mud-icon-root {
        color: #155e7d !important;
    }

/* HOVER effect (optional, for nicer feel) */
.mud-nav-link:hover {
    background-color: rgba(21, 94, 125, 0.05) !important;
}

/* Optional: override default blue selection glow (scrollbar indicator) if needed */
.mud-nav-link:focus {
    outline-color: #155e7d !important;
}



.profile-settings__section--profile {
    border-bottom: none;
}

a {
    text-decoration: none;
    color: #155e7d;
}

/*searchbar*/
.mud-input-underline.mud-input:focus-within::after {
    border-bottom: 2px solid #155e7d !important;
}

/*.validate-btn.mud-button-filled {
    width: 100px;
    background-color: #00b44b !important;
    color: white !important;
    border: 1px solid #00b44b;

}

    .validate-btn.mud-button-filled:disabled {
        background-color: rgba(0, 0, 0, 0.12) !important;
        color: rgb(0 0 0 / 26%) !important;
        border: 1px solid #00b44b;
    }*/


.overflowhide {
    height: 100% !important;
    overflow-y: hidden !important;
}

.header-icon.mud-icon-button {
    color: white !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .header-icon.mud-icon-button:hover {
        color: #155e7d !important;
        background-color: white !important;
    }
.avartar-name.mud-avatar-outlined.mud-avatar-outlined-info {
    color: #155e7d !important;
}
/* Scoped style or site-wide style */
.mud-picker-popover {
    transform: scale(0.6);
}

.mud-picker-toolbar {
    background-color: #155e7d !important;
}

.mud-picker-calendar-day.mud-selected {
    color: white !important;
    background-color: #155e7d !important;
}

.mud-popover.filters-panel {
    max-width: 100vw;
    left: auto !important;
    right: 10px !important; /* Adjust this for how far from right edge */
    transform: translateX(-20px); /* Optional: nudge left more */
}

.mud-chart-legend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mud-chart-legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

    .mud-chart-legend-item .mud-typography {
        font-size: 0.75rem;
    }
/*Dashboard*/
.chart-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    cursor: pointer;
    height: 430px;
}
.chart-card1 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    cursor: pointer;
    height: 700px;
}
.chart-card2 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    cursor: pointer;
    height: 850px;
}

.chart-title {
    font-size: 18px;
    padding: 10px 5px;
    text-align: center;
    font-weight: bold;
}

.y-axis-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.y-axis-title {
    transform: rotate(-90deg);
    white-space: nowrap;
    text-align: center;
    font-weight: 600;
}

.chart-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mud-chart {
    margin: auto;
}

.pie-chart-content {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.chart-card-dialog {
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 10px;
}

.overlay-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-title-dialog {
    padding: 15px 5px;
    font-weight: 500;
}

/*.mud-dialog .mud-dialog-content {
    padding: 15px 24px;
    margin: 0;
}*/

.chart-dialog {
    padding: 10px;
}

.mud-chart .svg-tooltip {
    stroke: white;
}


.status-verified {
    background-color: #a6dca6;
    font-weight: 500;
}

.status-new {
    background-color: #ff97a2;
    font-weight: 500;
}

.content-container .mud-icon-button{
    padding: 8px !important;
}

.content-container .mud-table-cell {
    padding: 4px 16px !important;
}

.content-container .mud-table-head .mud-table-cell {
    max-width: max-content;
    white-space: nowrap;
}

.cell-text-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.profile-settings .mud-tab.mud-tab-active {
    color: #155e7d !important;
}
.mud-tab-slider {
    background: #155e7d !important;
}
.mud-primary-text {
    color: #155e7d !important;
}

.centered-no-data {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    width: 100%;
    max-width: 100vw; /* limits it to visible viewport */
    overflow: hidden;
    font-weight:bold;
}

.mud-picker-inline-paper .mud-paper {
    position: absolute !important
}

.edit-form{
    height:90%;
}

.content-container {
    height: 100%;

}

    .content-container .mud-table {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

        .content-container .mud-table .mud-table-container {
            height: 80%;
            flex: 1 1 auto; 
            overflow: auto;
        }

        .content-container .mud-table .mud-table-pagination {
            flex-shrink: 0; 
        }

@media (max-width: 768px) {
    .content-container .mud-table .mud-table-container{
        height: 75%;
    }
}

.wrap-text {
    white-space: normal;
    word-break: break-word;
}
/*
.mud-table-cell {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}*/

.mud-chip > .mud-chip-content {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-align:center;
}

.mud-chip.mud-chip-size-medium {
    height: 50px !important;
}

.mud-chip {
    padding: 5px 12px !important;
}

.flag-icon {
    width: 8%;
    position: absolute;
    left: 10px;
    border: none;
    color: #8e9298;
    font-size: 15px;
}

.form-container .form-group .country-code {
    left: 45px !important;
}

.form-container .form-group .mud-input-control-helper-container, .form-container .form-group .mud-input-helper-text.mud-input-error {
    display: block !important;
}
:root {
    --mud-palette-chart-pie-0: #2979FF !important;
    --mud-palette-chart-pie-1: #8ddd7d !important;
    --mud-palette-chart-pie-2: #be7ddd !important;
    --mud-palette-chart-pie-3: #1DE9B6 !important;
    --mud-palette-chart-pie-4: #FFC400 !important;
    --mud-palette-chart-pie-5: #FF9100 !important;
}

.mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border {
    border-color: #155e7d !important; /* or your preferred color */
}