/* Ensure the container is well-aligned */
.exr-summary-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exr-accordion {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.exr-accordion-header {
    cursor: pointer;
    padding: 10px;
    background-color: #0073e6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
    user-select: none;
}

.exr-accordion-header h3 {
    margin: 0;
    font-size: 16px;
    flex-grow: 1;
}

.exr-accordion-header:hover {
    background-color: #005bb5;
}

.exr-accordion-content {
    display: none;
    padding: 10px;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #f9f9f9;
}

.exr-accordion.open .exr-accordion-content {
    display: block;
}

/* Styles for the day summary list */
.exr-day-summary-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px; /* Add some gap between items */
}

.exr-day-summary-item {
    flex: 1 1 calc(50% - 10px); /* Two items per row with space between them */
    box-sizing: border-box;
}

.exr-day-summary-item:nth-child(2n+1) {
    margin-right: 10px; /* Add space after every odd item */
}

.exr-day-summary-item:nth-child(2n) {
    margin-right: 0; /* Ensure even items don't have extra space */
}

.exr-day-summary-item:last-child {
    flex: 1 1 calc(50% - 10px); /* Last item also takes up 50% width */
    margin-right: 0;
    align-self: flex-start; /* Align to the top */
}

.exr-day-summary-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
    width: 100%;
}

.exr-day-summary-item span:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .exr-day-summary-item {
        flex: 1 1 100%; /* One item per row on smaller screens */
        margin-right: 0;
    }
}

.fa {
    margin-right: 8px;
}


