/* Removing arrow sign from dropdown */


/* For Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.loading {
    background-color: #ffffff;
    background-image: url("../images/indicator.gif");
    background-size: 25px 25px;
    background-position: right center;
    background-repeat: no-repeat;
}

.duration:focus {
    outline: none;
}

.custom-field {
    display: inline;
}

.display-auto-select-value {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-block;
    margin-left: 5px;
    /* margin-top: 5px; */
    /* padding: 0; */
    padding-left: 20px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

.display-auto-select-value button {
    background-color: transparent;
    border: none;
    border-right: 1px solid #aaa;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    color: #999;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    padding: 0 4px;
    position: absolute;
    left: 0;
    top: 0;
}

.display-auto-select-value button:hover,
.display-auto-select-value button:focus {
    background-color: #f1f1f1;
    color: #333;
    outline: none;
}

.display-auto-select-value span {
    padding: 0 5px 0 2px;
    font-size: 14px;
}


/* Overriding styles */

::-webkit-input-placeholder {
    font-size: 13px !important;
}

:-moz-placeholder {
    /* Firefox 18- */
    font-size: 13px !important;
}

::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 13px !important;
}

.page-header {
    font-size: 2rem;
}

.container-fluid {
    padding-top: 20px;
}

@media (max-width: 767.98px) {
    .sb-topnav .navbar-brand {
        width: auto;
    }

    .cesc-logo {
        /* border-left: 1px solid grey; */
        padding-right: 10px;
    }

    .sb-topnav .navbar-brand img {
        width: 105px;
    }

    .sb-topnav .navbar-brand img.logo_right {
        width: 130px !important;
        /* border-right: 1px solid grey; */
        margin-right: 10px;
    }

    #sidebarToggle {
        /* padding-left: 50px !important;
        margin-left: 50% !important; */
        position: absolute;
        right: 5px;
    }
}


/* .tab-pane input,
span {
    text-transform: uppercase;
} */

.highLightErrorField {
    border: 1px solid red !important;
}

.view-text-value {
    color: #784949 !important;
    /* color: #6c757d !important; */
    /* margin: 2px 0; */
    /* padding: 5px 10px; */
    position: relative;
    display: block;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #dbdbdb;
    /* background-color: #212529; */
    background-clip: border-box;
    /* border: 1px solid rgba(0, 0, 0, 0.125); */
    border-radius: 0.25rem;
}

.view-text-value-border {
    padding: 5px 10px;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.status_container {
    text-transform: none;
    padding: 3px;
    margin: 1px;
}

.chit_tilt_container {
    font-weight: bold;
    color: #0061ae;
}

.chit_id_container {
    font-size: 14px;
    color: #8d3a93;
}


/* for login */

.bg_setup {
    background-image: url('../images/bg.jpg');
    background-position: center center;
    background-size: cover;
    height: auto;
    left: 0;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 0;
    width: auto;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

footer {
    z-index: 3;
}

.table> :not(:first-child),
.dataTable-table> :not(:first-child) {
    border-top: none;
}

/* input,
textarea {
    text-transform: uppercase;
} */

/* For user feedback screen */

/* User feedback screen */

.step {
    display: none;
    padding: 20px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: background 0.3s;
}

.step.active {
    display: block;
}

.rating-group {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.rating-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px;
}

.rating-group::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.rating-label {
    margin-bottom: 5px;
    font-size: 10px;
}

/* Rating Button */
.rating-btn {
    padding: 6px;
    /* Reduced padding for even smaller buttons */
    font-weight: bold;
    background-color: #898989;
    color: black;
    transition: background 0.3s, color 0.3s;
    border: none;
    cursor: pointer;
    min-width: 60px;
    /* Even smaller min-width */
    min-height: 30px;
    /* Reduced min-height */
    margin: 0 1px;
    position: relative;
    flex-shrink: 0;
    border-radius: 6px;
    /* Rounded corners for better look */
    white-space: nowrap;
    /* Prevent text overflow */
}

/* Polygon edges */
.rating-group .rating-item:first-child .rating-btn {
    clip-path: polygon(10% 0%, 100% 0%, 100% 50%, 100% 100%, 10% 100%, 0% 50%);
}

.rating-group .rating-item:last-child .rating-btn {
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 50%);
}

.rating-btn:hover {
    opacity: 0.8;
}

/* Scale Group */
.scale {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-top: 20px;
    gap: 0;
}

.scale-btn {
    width: 30px;
    /* Reduced size for smaller scale buttons */
    height: 30px;
    border-radius: 50%;
    background-color: #898989;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 1px;
    flex-shrink: 0;
}

.scale::-webkit-scrollbar {
    display: none;
}

.scale-btn:hover {
    background-color: #aaa;
}

.scale-btn.selected {
    background-color: #0B7139;
    color: white;
}

#stepperForm {
    width: 100%;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

p {
    font-size: 21px !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .rating-btn {
        font-size: 12px;
        /* Even smaller text size */
        padding: 5px;
        /* Further reduced padding */
        min-width: 50px;
        /* Smaller button width */
        min-height: 25px;
        /* Smaller button height */
    }

    .scale-btn {
        width: 25px;
        /* Smaller scale buttons */
        height: 25px;
        font-size: 12px;
    }

    #stepperForm {
        padding: 15px;
    }

    p {
        font-size: 18px;
    }

    .step {
        padding: 15px;
    }

    .rating-group {
        gap: 5px;
        /* Space out rating items slightly for mobile */
    }

    .scale {
        gap: 5px;
        /* Space out scale buttons slightly for mobile */
    }
}

@media (max-width: 480px) {
    .rating-btn {
        font-size: 10px;
        /* Smaller font size for very small screens */
        padding: 4px;
        /* Further reduced padding */

    }

    .scale-btn {
        width: 20px;
        /* Even smaller scale buttons */
        height: 32px;
        font-size: 10px;
    }

    p {
        font-size: 16px;
    }

    .step {
        padding: 10px;
    }

    .rating-group {
        gap: 3px;
        /* Reduce space for very small screens */
    }

    .scale {
        gap: 3px;
        /* Reduce space for very small screens */
    }
}

/* Default for all screens (mobile first) */
.sb-nav-fixed #layoutSidenav #layoutSidenav_content {
    padding-left: 225px;
    top: 56px;
}

/* For larger screens (desktop) */
@media (min-width: 768px) {
    .sb-nav-fixed #layoutSidenav #layoutSidenav_content {
        padding-left: 0;
    }
}

.is-invalid-textarea {
    border-color: red !important;
}