/* Report Page Styles - Part 4: Report Details */

/* Report details */
.report-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.facts-container {
    flex: 2;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.facts-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.facts-icon {
    width: 40px;
    height: 40px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.facts-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

/* Accordion */
.accordion-container {
    margin-top: 20px;
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background-color: #f8f9fa;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: #f1f3f5;
}

.accordion-title {
    font-weight: 600;
    color: #2c3e50;
}

.accordion-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 15px;
}

.facts-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.fact-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    line-height: 1.5;
}

.fact-item:last-child {
    border-bottom: none;
}

.fact-item.positive {
    color: #27ae60;
}

.fact-item.negative {
    color: #e74c3c;
}

/* Info list */
.info-list {
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-key {
    flex: 1;
    font-weight: 600;
    color: #2c3e50;
}

.info-value {
    flex: 2;
}

.boolean-value {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.true-value {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.false-value {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.no-data {
    color: #7f8c8d;
    font-style: italic;
}
