html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.975rem;
    color: #000 !important;
}

.Stega_Theme td {
    color: #0083BF;
}

.PSS_Theme td {
    color: #666699;
}

.content {
    padding-top: 1.1rem;
}

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."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.greencolor {
    color: #22b24c;
}

.loader {
    --bs-spinner-width: 2rem;
    --bs-spinner-height: 2rem;
    --bs-spinner-vertical-align: -0.125em;
    --bs-spinner-border-width: 0.25em;
    --bs-spinner-animation-speed: 0.75s;
    --bs-spinner-animation-name: spinner-border;
    border: var(--bs-spinner-border-width) solid currentcolor;
    border-right-color: transparent;
    display: inline-block;
    width: var(--bs-spinner-width);
    height: var(--bs-spinner-height);
    vertical-align: var(--bs-spinner-vertical-align);
    border-radius: 50%;
    animation: var(--bs-spinner-animation-speed)linear infinite var(--bs-spinner-animation-name);
    margin: 0 auto;
}

.loader_big {
    --bs-spinner-width: 10rem;
    --bs-spinner-height: 10rem;
    --bs-spinner-vertical-align: -0.125em;
    --bs-spinner-border-width: 0.25em;
    --bs-spinner-animation-speed: 0.75s;
    --bs-spinner-animation-name: spinner-border;
    border: var(--bs-spinner-border-width) solid currentcolor;
    border-right-color: transparent;
    /*display: inline-block;*/
    width: var(--bs-spinner-width);
    height: var(--bs-spinner-height);
    vertical-align: var(--bs-spinner-vertical-align);
    border-radius: 50%;
    animation: var(--bs-spinner-animation-speed)linear infinite var(--bs-spinner-animation-name);
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

input[type='checkbox'] {
    cursor: pointer;
}

.cursor-pointer, .form-select {
    cursor: pointer;
}

body.cursor-wait,
body.cursor-wait *,
body.cursor-wait *::before,
body.cursor-wait *::after {
    cursor: wait !important;
}

.form-control, .form-select {
    padding: 3px !important
}

.highlight {
    background-color: #FFCC66 !important;
}

/* Adding slight curves to the table */
.listtable {
    border-radius: 8px; /* Adjust the value for more or less curve */
    overflow: hidden; /* Ensures rounded corners show properly */
}

    /* Optional: Style for table cells to match the rounded corners */
    .listtable th, .listtable td {
        border-top: 1px solid #dee2e6; /* Optional: Border style */
        border-bottom: 1px solid #dee2e6; /* Optional: Border style */
    }

    .listtable thead {
        background-color: #f8f9fa; /* Light background for the header */
    }

/* More specific selector to override Bootstrap styles */

/* Custom checkbox with !important */
.custom-checkbox {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 20px !important; /* Size of the checkbox */
    height: 20px !important;
    border: 2px solid #339900 !important; /* Border color */
    border-radius: 5px !important; /* Rounded corners */
    background-color: #fff !important; /* White background */
    /*position: relative !important;*/
    cursor: pointer !important;
    transition: all 0.3s ease !important; /* Smooth transition for checked state */
}

.custom-radio {
    cursor: pointer;
}
/* Checked state */
.custom-checkbox:checked {
    background-color: #339900 !important; /* Blue background when checked */
    border-color: #339900 !important; /* Darker border color when checked */
}

    /* Checkmark (tick) inside the checkbox */
    .custom-checkbox:checked::after {
        /*content: '\f00c' !important;*/ /* Unicode for checkmark */
        font-family: 'Bootstrap Icons', sans-serif !important; /* Bootstrap Icons font */
        font-size: 16px !important;
        color: #fff !important; /* White color for the checkmark */
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important; /* Center the checkmark */
    }

/* Hover effect */
.custom-checkbox:hover {
    border-color: #339900 !important; /* Darker border color on hover */
}

/* Focus effect */
.custom-checkbox:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important; /* Blue focus shadow */
}

.custom-checkbox-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px; /* optional, for spacing */
}

    .custom-checkbox-wrapper input {
        width: auto; /* Keeps the checkbox at its normal size */
    }

    .custom-checkbox-wrapper label {
        margin-bottom: 5px; /* Optional, for spacing between label and checkbox */
    }

.form-check-label {
    cursor: pointer;
}

.btn-cancel {
    background-color: #ffc107 !important;
    color: #fff !important;
}

.btn-delete {
    background-color: #bd2130 !important;
    color: #fff !important;
}

.loading_cir_delete {
    border-radius: 50%;
    border-top: 5px solid #bd2130;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: block;
}

.loading-hourglass-clone {
    display: inline-block;
    animation: spin 1s linear infinite;
    font-size: 30px;
    color: #3366CC;
}

.loading-hourglass-cancel {
    display: inline-block;
    animation: spin 1s linear infinite;
    font-size: 30px;
    color: #ffc107;
}

.btn-clone {
    background-color: #3366CC !important;
    color: #fff !important;
}

.btn-export {
    background-color: #1E90FF !important;
    color: #fff !important;
}

.loading_cir_export {
    border-radius: 50%;
    border-top: 5px solid #1E90FF;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: block;
}

.btn-save, .btn-cancel, .btn-delete, .btn-export, .btn-clone {
    position: relative;
    padding: 5px 17px 5px 35px;
}

    .btn-save > .icon, .btn-cancel > .icon, .btn-delete > .icon, .btn-export > .icon, .btn-clone > .icon {
        position: absolute;
        height: 100%;
        line-height: 32px;
        border-radius: 0;
        border-top-left-radius: inherit;
        border-bottom-left-radius: inherit;
        text-align: center;
        margin: 0;
        width: 30px;
        background-color: rgba(0, 0, 0, .05);
        top: 0;
        left: 0;
        box-shadow: -1px 0 0 0 transparent inset;
        opacity: .9;
        margin: 0 !important;
        vertical-align: top;
    }

.Margin-Left-30 {
    margin-left: 30px;
}

.Margin-Top-15 {
    margin-top: 15px;
}

.lowercase {
    text-transform: lowercase;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

select {
    cursor: pointer;
    /*appearance: auto !important;*/
}

.disabled-row {
    opacity: 0.5; /* Makes it look faded */
    background-color: #f2f2f2; /* Light gray background */
    color: #999; /* Dim text color */
}

#dateRangePicker {
    cursor: pointer;
    font-size: 0.875rem !important;
}

.modal {
    z-index: 1050;
}

.modal-dialog {
    margin: 1.75rem auto;
    max-width: 500px;
}

audio {
    width: 100%;
}

.btnClearSearch {
    border: none;
}

.inputSearch {
    border-right: none !important;
}

    .inputSearch:focus {
        box-shadow: none;
        border-color: #dee2e6;
    }

.inputSearchClear {
    background-color: transparent !important;
    border-top: 1px solid #666666;
    border-right: 1px solid #666666;
    border-bottom: 1px solid #666666;
    border-left: none !important;
    border-radius: 0.25rem;
    padding: 0px;
}

.spanGlassIcon {
    border-color: #666666;
}

    .spanGlassIcon i {
        font-size: 22px;
    }

/* Card View */
.card {
    position: relative;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0px;
}

.status-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #28a745; /* Green for Active */
    padding: 5px 10px;
    font-size: 0.9em;
}

    .status-indicator.inactive {
        color: #dc3545; /* Red for Inactive */
    }

.card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.card p {
    font-size: 1em;
    margin-bottom: 10px;
}

.card-buttons {
    display: flex;
    justify-content: space-between;
}

.required {
    color: #FF0000;
    font-weight: bold;
}

.DottedBottom {
    border-bottom: 1px dotted #000;
}

select[multiple] option:checked {
    background-color: #007BFF; /* blue background */
    color: white; /* white text */
}

.LineHeight30 {
    line-height: 30px;
}

.Width300px {
    width: 300px;
}
/* <= 450px*/
@media (max-width: 450px) {
    .Width300px {
        width: 250px;
    }
}

/* UploadOrTextToSpeechTabs */
.tab-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1rem;
    justify-content: center;
    align-items: center;
}

.tab-item {
    width: 150px;
    height: 90px;
    border-radius: 0.75rem;
    background: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
    /* This is in individual Theme css */
    /*.tab-item.active {
        background: #4CAF50;
        color: white;
    }*/

    .tab-item.active .tab-icon,
    .tab-item.active .tab-text {
        color: white;
    }

.tab-icon {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    color: #333;
}

.tab-text {
    font-size: 0.95rem;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

/* Responsive: stack tabs on small screens */
@media (max-width: 576px) {
    .tab-container {
        flex-direction: column;
        align-items: center;
    }

    .tab-item {
        width: 100%;
        max-width: 280px;
    }
}

.tts-card {
    max-width: 480px;
    margin: 2rem auto;
    /*padding: 2rem 2rem 1.5rem 2rem;*/
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    background: #fff;
    border: 1px solid #e0e0e0; /* Overwritten in the respective Theme.css */
}

.email-lowercase {
    text-transform: lowercase;
}

.font-size-18 {
    font-size: 18px;
}

.mud-input > input.mud-input-root-outlined {
    padding: 5px !important;
    cursor: pointer !important;
}
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1050;
}

    .modal-container.show {
        opacity: 1;
        visibility: visible;
    }

.paginator {
    border-top: none !important;
}

.cdr-filter-toggle {
    background-color: #ffffff;
    color: #6c757d;
    border: 1px solid #6c757d;
    transition: all 0.3s ease;
}

/* 2. Hover State: Slightly gray when hovered while collapsed */
.cdr-filter-toggle[aria-expanded="false"]:hover {
    background-color: #f8f9fa;
    color: #6c757d;
}

/* 3. Expanded State: Clicked/Open (Colored background, white text) */
.cdr-filter-toggle[aria-expanded="true"] {
    background-color: #6c757d;
    color: #ffffff;
    border-color: #6c757d;
}

    /* 4. Keep it colored when hovered while open */
    .cdr-filter-toggle[aria-expanded="true"]:hover {
        background-color: #5c636a; /* slightly darker gray */
        color: #ffffff;
    }

/* 5. Prevent annoying Bootstrap focus rings from overriding background */
.cdr-filter-toggle:focus,
.cdr-filter-toggle:active {
    box-shadow: none !important;
}

/* title on mobile - used on CDR and Recorded Calls Components */

/* ==========================================
       MOBILE FIRST STYLES (Touchscreens / Taps)
       ========================================== */
.mobile-title {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-title .title-box {
    visibility: hidden;
    width: 140px;
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 0.8rem;
    font-family: sans-serif;
    position: absolute;
    z-index: 99999;
    bottom: 140%; 
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.15s ease-in-out, visibility 0.15s;
    white-space: normal;
}

    /* Small bottom arrow pointing down at the speedometer icon */
    .mobile-title .title-box::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #2c3e50 transparent transparent transparent;
    }

/* Trigger display on mobile tap/focus */
.mobile-title:focus .title-box,
.mobile-title:active .title-box {
    visibility: visible;
    opacity: 1;
}


/* ==========================================
       DESKTOP OVERRIDES (Devices with a Mouse)
       ========================================== */
@media (pointer: fine) {
    /* Disables the custom popup overlay entirely on desktop */
    .mobile-title .title-box {
        display: none !important;
    }

    /* Resets the container back to an ordinary inline element */
    .mobile-title {
        position: static;
        display: inline;
        cursor: default;
    }
}
