/* CSS for jQuery UI Accordion with Icons */
.ui-accordion {
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.ui-accordion .ui-accordion-header {
    border: 1px solid #ccc !important;
    padding: 10px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    transition: background-color 0.3s !important;
	background: unset !important;
}

.ui-accordion .ui-accordion-header:hover {
}

.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
    margin-right: 10px !important;
    transition: transform 0.3s !important;
    transform-origin: center center !important;
}

.ui-accordion .ui-accordion-header.ui-state-active .ui-accordion-header-icon {
    transform: rotate(90deg) !important;
}

.ui-accordion .ui-accordion-content {
    border: 1px solid #ccc !important;
    border-top: none !important;
    padding: 15px !important;
	background: unset !important;
}

/* Icon styles */
.ui-icon {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    background-image: url('/BNP/Images/AccordionIcon.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.ui-icon-triangle-1-e {
    background-position: 0 0 !important; /* Adjust position for your sprite */
}

.ui-icon-triangle-1-s {
    background-position: 0 0 !important; /* Adjust position for your sprite */
}

.ui-icon-triangle-1-n {
    background-position: 0 0 !important; /* Adjust position for your sprite */
}

.ui-icon-triangle-1-w {
    background-position: 0 0 !important; /* Adjust position for your sprite */
}

/* Accessibility enhancements */
.ui-accordion .ui-accordion-header:focus {
    outline: 2px solid #0078d7 !important;
}

.ui-accordion .ui-accordion-header.ui-state-disabled {
    cursor: not-allowed !important;
    color: #888 !important;
}

.ui-accordion .ui-accordion-content.ui-state-disabled {
}

.ui-widget-content a, .ui-widget-content a:visited {
    color: rgb(2, 139, 255) !important;
}