:root {
    --abena-primary: #0A3E76;
    --abena-dark: #424C54;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, sans-serif;
}

body {
    width: 100%;
}

.text-abena-primary {
    color: var(--abena-primary);
}

.bg-abena-primary {
    background-color: var(--abena-primary);
}

.btn-abena-primary {
    min-width: 120px;
    font-weight: bold;
    background-color: var(--abena-primary);
    color: white;
    border: none;
    padding: 8px 30px;
    border-radius: 8px;
    font-family: "Work Sans", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    text-decoration: none;

    &&:hover {
        background-color: #0453ad;
        text-decoration: none;
        color: white;
    }

    &&:disabled {
        cursor: not-allowed;
        opacity: 0.7;
    }

    &&:disabled:hover {
        background-color: var(--abena-primary);
        ;
    }



}

.btn-abena-secondary {
    min-width: 120px;
    font-weight: bold;
    background-color: #C9DDE6;
    color: var(--abena-primary);
    border: none;
    padding: 8px 30px;
    border-radius: 8px;
    font-family: "Work Sans", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

    &&:hover {
        background-color: #a3cbe4;
    }
}

.date-filter-popover .btn-abena-primary:disabled,
.date-filter-popover .btn-abena-secondary:disabled {
    background-color: #EEF2F5 !important;
    color: #A1A7B3 !important;
    cursor: not-allowed !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: bold;
    border: none;
    opacity: 1 !important;
}


.btn-abena-cancel {
    min-width: 120px;
    font-weight: bold;
    background-color: white;
    color: #5c5c74;
    border: 1px solid transparent;
    padding: 8px 30px;
    border-radius: 8px;
    font-family: "Work Sans", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-abena-cancel:hover {
    color: #333;
    background-color: #f9f9f9;
    border-color: #e0e0e0;
}

.input-abena {

    &&:hover {
        border-color: 1px solid #CBE0F6;
        box-shadow: 0 0 0 0.2rem rgba(37, 127, 224, 0.25);
    }

    &&:focus {
        border-color: 1px solid #CBE0F6;
        box-shadow: 0 0 0 0.2rem rgba(36, 119, 207, 0.25);
    }
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--abena-primary);
    object-fit: cover;
}

.heading {
    font-size: 24px !important;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
}

.heading-big {
    font-size: 30px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.info-box {
    background-color: #e9f3fa;
    border-radius: 10px;
    padding: 16px 20px;
}

.subtitle {
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}


.body-small {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.body-normal {
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.body-bold {
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}

.pre-title {
    font-size: 12px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--abena-dark);
}

/* GENERATE REPORT MODAL */
.input-abena {
    background-color: #f2f6f9;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    padding: 10px 12px;
    width: 100%;

    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    color: #495057;
}

.input-abena::placeholder {
    color: #B3B7BB;
}

.select-abena {
    background-color: #f2f6f9;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    padding: 10px 12px;
    width: 100%;

    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    letter-spacing: 0px;
    color: #B3B7BB;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23424C54' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.select-abena .placeholder-option {
    color: #B3B7BB !important;
}

.select-abena:disabled {
    background-color: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
}

.modal-label {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0px;

}

.section-divider {
    border: none;
    height: 1px;
    background-color: #E9E9E9;
    margin: 24px 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.validation-error-text {
    color: #FF0000 !important;
    font-size: 12px !important;
    margin-left: 0px !important;
    margin-top: 4px !important;
}

/* Multiselect */
.mui-multiselect .MuiOutlinedInput-root {
    background-color: #f2f6f9 !important;
    border: 1px solid #e6eaf0 !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    color: #495057;
    min-height: 48px;
    box-shadow: none !important;
}

.mui-multiselect .MuiOutlinedInput-notchedOutline {
    border: none !important;
}

.mui-multiselect .MuiSvgIcon-root {
    color: #424C54 !important;
    width: 24px !important;
    height: 24px !important;
    margin-right: -4px !important;
    transform: translateY(-1px);
}

.mui-multiselect .MuiAutocomplete-clearIndicator .MuiSvgIcon-root {
    width: 18px !important;
    height: 18px !important;
    margin-right: -2px !important;
    transform: translateY(1px);
}


.mui-multiselect .MuiInputBase-input {
    padding: 4px 0 !important;
    color: #495057 !important;
}

.mui-multiselect .MuiInputBase-root {
    padding-right: 50px !important;
}

.mui-multiselect input::placeholder {
    color: #B3B7BB !important;
}

.mui-multiselect .MuiChip-root {
    height: 24px;
    font-size: 13px;
    margin: 2px 4px;
    background-color: #E6EAF0;
}

.mui-multiselect .MuiChip-root .MuiChip-deleteIcon {
    width: 18px !important;
    height: 18px !important;
    margin-right: 2px !important;
}

/* Disabled multiselect */
.mui-multiselect-disabled .MuiOutlinedInput-root {
    background-color: #f8f9fa !important;
    color: #adb5bd !important;
    cursor: not-allowed !important;
    border: 1px solid #e6eaf0 !important;
}

.mui-multiselect-disabled .MuiSvgIcon-root {
    color: #adb5bd !important;
}

/* Abena switch */
.abena-switch {
    --abena-primary: #0A3E76;
}

.abena-switch .MuiSwitch-switchBase.Mui-checked {
    color: var(--abena-primary);
}

.abena-switch .MuiSwitch-switchBase.Mui-checked+.MuiSwitch-track {
    background-color: var(--abena-primary);
}

.abena-switch .MuiSwitch-track {
    height: 20px;
    border-radius: 10px;
    transform: translateY(-3px);
}

.abena-switch-label {
    font-family: "Poppins", sans-serif;
    color: #212529;
    font-size: 15px;
    font-weight: 500;
    margin-left: 0;
}


.abena-date-picker {
    background-color: #f2f6f9;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    padding: 10px 12px;
    width: 100%;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    color: #495057;
    min-height: 48px;
    box-shadow: none !important;
}

.mui-multiselect .MuiOutlinedInput-notchedOutline {
    border: none !important;
}

.mui-multiselect .MuiSvgIcon-root {
    color: #424C54 !important;
    width: 24px !important;
    height: 24px !important;
    margin-right: -4px !important;
    transform: translateY(-1px);
}

.mui-multiselect .MuiAutocomplete-clearIndicator .MuiSvgIcon-root {
    width: 18px !important;
    height: 18px !important;
    margin-right: -2px !important;
    transform: translateY(1px);
}


.mui-multiselect .MuiInputBase-input {
    padding: 4px 0 !important;
    color: #495057 !important;
}

.mui-multiselect .MuiInputBase-root {
    padding-right: 50px !important;
}

.mui-multiselect input::placeholder {
    color: #B3B7BB !important;
}

.mui-multiselect .MuiChip-root {
    height: 24px;
    font-size: 13px;
    margin: 2px 4px;
    background-color: #E6EAF0;
}

.mui-multiselect .MuiChip-root .MuiChip-deleteIcon {
    width: 18px !important;
    height: 18px !important;
    margin-right: 2px !important;
}

/* Disabled multiselect */
.mui-multiselect-disabled .MuiOutlinedInput-root {
    background-color: #f8f9fa !important;
    color: #adb5bd !important;
    cursor: not-allowed !important;
    border: 1px solid #e6eaf0 !important;
}

.mui-multiselect-disabled .MuiSvgIcon-root {
    color: #adb5bd !important;
}

/* Date Picker Styles */
.abena-date-picker {
    width: 100% !important;
}

.abena-date-picker .MuiInputBase-root {
    width: 100% !important;
    height: 46px !important;
    border-radius: 8px !important;
    background-color: #F2F6F9 !important;
    border: 1px solid #E6EAF0 !important;
    font-family: Poppins !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    color: #b3b7bb !important;
}

.abena-date-picker .MuiInputBase-root input {
    font-family: Poppins !important;
    font-weight: 400 !important;
    font-size: 15px !important;
}

.abena-date-picker .MuiInputBase-root input::placeholder {
    font-size: 15px !important;
    color: #b3b7bb !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.abena-date-picker .MuiInputBase-root .MuiInputAdornment-root .MuiButtonBase-root:hover {
    background-color: transparent !important;
}

.abena-date-picker .MuiInputBase-root .MuiInputAdornment-root .MuiSvgIcon-root {
    pointer-events: none !important;
}

.abena-date-picker .MuiInputBase-root:hover {
    border: 1px solid #E6EAF0 !important;
    background-color: #F2F6F9 !important;
    outline: none !important;
}

.abena-date-picker .MuiInputBase-root.Mui-disabled:hover {
    border: 1px solid #E6EAF0 !important;
    background-color: #F8F9FA !important;
    outline: none !important;
}

.abena-date-picker .MuiOutlinedInput-notchedOutline {
    border: none !important;
}

.abena-date-picker .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
    border: none !important;
}

/* Disabled state styles */
.abena-date-picker .MuiInputBase-root.Mui-disabled {
    cursor: not-allowed !important;
    background-color: #F8F9FA !important;
}

.abena-date-picker .MuiInputBase-root.Mui-disabled input {
    cursor: not-allowed !important;
}

/* Selected date styles */
.abena-date-picker .MuiPickersDay-root.Mui-selected {
    background-color: #0A3E76 !important;
}

/* LOGIN PAGE */

.login-button {
    padding-inline: 5em;
    margin-top: 4em;
    white-space: nowrap;
    transition: all 0.1s;
    font-family: "Work Sans", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 16px;

    &:hover {
        opacity: 0.7;
    }
}

.login-button-disabled {
    cursor: wait;
    opacity: 0.7;
}

.login-card-container {
    padding: 40px 60px;

}

@media (max-width: 480px) {
    .login-button {
        padding-inline: 25px;
    }

    .login-card-container {
        padding: 40px 10px;
    }
}

/* REPORTS PAGE */
.home-container {
    display: flex;
    flex-direction: column;
    min-height: 85vh;
    padding: 25px 40px;
    margin: 30px;
    margin-top: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Language dropdown */
#languageDropdown {
    background-color: #f2f6f9;
    color: var(--abena-primary);
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    padding: 6px 12px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    transition: background-color 0.2s ease-in-out;
}

#languageDropdown:hover {
    background-color: #e6eaf0;
    cursor: pointer;
}

.language-toggle {
    min-width: 120px;
    font-family: "Work Sans", sans-serif;
    font-weight: 500;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    border-radius: 8px;
}

.language-toggle:focus {
    box-shadow: 0 0 0 0.15rem rgba(10, 62, 118, 0.25);
}