/* Admin Toggle Headings */
.semester-heading,
#electives_toggle_heading {
    background-color: #f1f1f1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease;
}
.semester-heading:hover,
#electives_toggle_heading:hover {
    background-color: #eaeaea;
}

.semester-heading::before,
#electives_toggle_heading::before {
    position: absolute;
    left: 10px;
    top: 12px;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.semester-heading.active::before,
#electives_toggle_heading.active::before {
    transform: rotate(90deg);
}

.courses-container,
#elective_courses_container {
    padding: 12px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    background-color: #fff;
    display: none;
}

/* Course/Elective Box */
.course,
.elective {co
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
    margin-bottom: 10px;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 5px;
}

.course label,
.elective label {
    width: 120px;
    font-weight: 500;
}

.course input,
.elective input {
    flex: 1;
    min-width: 150px;
    padding: 6px 8px;
}

/* Spacer between inputs (if needed) */
.spacer {
    width: 20px;
    display: inline-block;
}

/* Elementor Accordion (Frontend) */
.custom-accordion .accordion-title {
    cursor: pointer;
    background-color: #f9f9f9;
    padding: 15px 20px;
    border: 1px solid #ddd;
    position: relative;
    font-weight: bold;
}

.custom-accordion .accordion-title .accordion-icon {
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
    font-family: "FontAwesome";
}

.custom-accordion .accordion-title .accordion-icon.active-icon {
    transform: rotate(180deg);
}

.custom-accordion .accordion-content {
    display: none;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #fff;
}

.custom-accordion .course-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-accordion .course-table th,
.custom-accordion .course-table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}


/* Ensure Elementor Typography Changes Apply */
.custom-accordion .accordion-item .accordion-title,
.custom-accordion .accordion-item .accordion-content {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.custom-accordion .accordion-title .accordion-icon i {
    font-size: 16px;
    transition: transform 0.3s;
}


.fd-filter-label {
    display: absolute;
    font-size: 14px;
    padding: 8px 15px;
    margin-right: 0px;
    border: 1px solid #ccc;
    border-radius: 40px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fd-filter-label.selected {
    background-color: #8C2586;
    color: rgb(255, 255, 255);
    border-color: #8C2586;
}
/* .fd-filter-label:hover{
    color: white;
} */

.fd-search-widget {
    position: relative;
}

.fd-float-results {
    position: absolute;
    z-index: 100;
    background: white;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    margin-top: 10px;
    max-height: 350px;
    overflow-y: auto;
    padding: 0;
    list-style: none;
}
.fd-float-results li {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.fd-float-results li:hover {
    background-color: #f8f9fb;
    color: #0073aa;
}
.fd-float-results li::after {
    content: \"→\";
    float: right;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fd-float-results li:hover::after {
    opacity: 1;
}
@media (max-width: 480px) {
    .fd-float-results li {
        font-size: 14px;
        padding: 10px 12px;
    }
}


#fd_search_results button {
    margin-top: 15px;
    padding: 10px;
    border: none;
    background-color: #0073aa;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

#fd_search_results button:hover {
    background-color: #005d8c;
}
.fd-filter-options{
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: center;
}

/* Minimal sleek admin style for course inputs */
.course, .elective {
    margin-bottom: 6px;
    padding: 8px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fdfdfd;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.course label, .elective label {
    font-weight: 600;
    width: 120px;
}
.course input, .elective input {
    flex: 1;
    padding: 4px 6px;
}
.spacer {
    width: 15px;
}
#electives_toggle_heading {
    font-size: 1.1em;
    font-weight: 600;
}

.paste-table-area {
    font-family: monospace;
    font-size: 14px;
    border-radius: 4px;
    resize: vertical;
    height: 80px;
}
.paste-table-area:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 1px #007cba;
}

.fd-campus-block {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 6px;
}
