﻿.accordion-container {
    max-height: 500px; /* Adjust height as needed */
    overflow-y: auto;
    overflow-x: hidden; /* Remove horizontal scroll */
    padding: 10px;
}

.panel-title {
    display: flex;
    justify-content: space-between;
}

    .panel-title a {
        width: 100%;
        text-align: left;
        text-decoration: none;
        color: #333;
    }

.panel-body {
    padding: 0.5rem 1rem; /* Adjust as needed for padding */
}

.panel-heading {
    background: #f5f5f5; /* Light gray background for headings */
    padding: 0.5rem 1rem; /* Adjust as needed for padding */
}


/*accordian start*/




/* Responsive Design */
@media (max-width: 767px) {
    .col-lg-3, .col-md-4, .col-sm-6 {
        width: 100%;
    }

    .accordion-container {
        max-height: none; /* Remove max-height for mobile view */
    }

    .panel-heading {
        padding: 0.75rem 1rem; /* Adjust padding for mobile view */
    }

    .panel-body {
        padding: 0.75rem 1rem; /* Adjust padding for mobile view */
    }
}


.fiscal-year-section {
    margin-bottom: 20px;
}
.fiscal-year-dropdown {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    appearance: none; /* Remove default dropdown arrow */
    background-color: #f8f8f8; /* Light gray background */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 width%3D%224%22 height%3D%224%22 viewBox%3D%220 0 4 5%22%3E%3Cpath fill%3D%22%23666%22 d%3D%22M2 0L0 2h4zM2 5L0 3h4z%22/%3E%3C/svg%3E'); /* Custom dropdown arrow */
    background-repeat: no-repeat;
    background-position: right 12px center; /* Adjust position */
    background-size: 12px; /* Moderate arrow size */
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .fiscal-year-dropdown:hover,
    .fiscal-year-dropdown:focus {
        border-color: #007bff; /* Blue border on hover/focus */
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.3); /* Blue shadow on hover/focus */
    }



    /* Custom styles for dropdown items */
    .fiscal-year-dropdown option:hover {
        background-color: #d3d3d3; /* Light gray background on hover */
    }

.results-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.result-card {
    flex: 1 1 calc(50% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

    .result-card:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

.result-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.result-content {
    display: flex;
    align-items: center;
    padding: 15px;
}

.result-icon {
    margin-right: 15px;
    width: 50px;
    height: 50px;
}

.result-text {
    flex: 1;
    overflow: hidden;
}

.result-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-description {
    font-size: 14px;
    color: #777;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-results-message {
    font-size: 16px;
    color: #888;
}

@media (max-width: 767px) {
    .result-card {
        flex: 1 1 100%;
    }

    .result-icon {
        width: 40px;
        height: 40px;
    }
}
