/*
* Required lebels
*/

.required:after {
    content: " *";
    color: red;
}

.select2-selection__rendered {
    height: 36px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    margin-left: 5px !important;
}

.readonly {
    background-color: #f0f0f0; /* light gray */
    color: #555; /* optional: make text slightly darker */
}

.font-12 {
    font-size: 12px !important;
}

#nprogress .bar {
    background: rgb(var(--primary-rgb)) !important;
    height: 3px !important;
    transition: all 0.4s ease;
    z-index: 1031;
}

#nprogress .peg {
    box-shadow:
        0 0 10px rgb(var(--primary-rgb)),
        0 0 5px rgb(var(--primary-rgb)) !important;
    opacity: 0.9;
}

/*
* hiding the spinner at extreme right
*/
#nprogress .spinner {
    display: none !important;
}

/* Hide default radio button */
.bgimage-input[type="radio"] {
    appearance: none; /* modern browsers */
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #ccc;
    cursor: pointer;
    background-color: #fff;
    position: relative;
    transition: all 0.2s ease;
}

/* Tick / inner circle when checked */
.bgimage-input[type="radio"]:checked {
    /* border-color: var(--primary-color); 
    background-color: var(--primary-color); */
    border-color: #007bff;
    background-color: #fff;
}

.bgimage-input[type="radio"]:checked::after {
    position: absolute;
    content: "\ea5e";
    font-family: tabler-icons !important;
    color: rgb(var(--success-rgb));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 400;
}

.modal-header-padding {
    padding: 1.4rem !important;
}

/* App Settings Styles */
.settings-section-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f3f3;
}

.settings-section-title i {
    font-size: 1.2rem;
}

.upload-container {
    border: 1px dashed #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    background: #fcfcfc;
    transition: all 0.2s ease;
}

.upload-container:hover {
    border-color: var(--primary-color);
}

.preview-box {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    background: #fff;
    border-radius: 0.35rem;
    border: 1px solid #f0f0f0;
}

.preview-box.dark-bg {
    background: #232a35;
}

.preview-box img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

/*
* Register Logo
*/
.register-logo {
    height: 2.5rem !important;
    margin-bottom: 50px !important;
}

.logo-large {
    height: 2rem !important;
}

/*
* Password Button
*/
.show-password-button-padding {
    padding: 0.2rem 0.6rem !important;
}

/*
* Notification Dropdown
*/
@media (max-width: 575.98px) {
    .notifications-dropdown.dropdown {
        position: static !important;
    }
    .notifications-dropdown .main-header-dropdown {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: auto !important;
        margin-top: 0 !important;
    }
}

/*
* Bill Action Toolbar
*/
@media (max-width: 767.98px) {
    .bill-action-toolbar {
        justify-content: flex-end !important;
    }
    .bill-action-toolbar .btn {
        margin-top: 0 !important;
    }
}
