/* Zucht Accordion Frontend Styles */

.zucht-accordion-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Statistiken */
.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #811781 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}



.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Accordion */
.accordion {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-bottom: 1px solid #e1e5e9;
    background: white;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}


.accordion-header:hover {
    background: #e9ecef;
    border-left-color: #667eea;
}
.accordion-header.active {
    background: #811781;
    color: #000;
    border-left: 4px solid #3b0b3b;
}

.accordion-header span:first-child {
    font-size: 1.2rem;
    font-weight: 600;
}

.year-badge {
    background: #811781;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.accordion-header.active .year-badge {
    background: rgba(255, 255, 255, 0.2);
}

/* Accordion Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.accordion-content.active {
    max-height: 1000px;
}

.accordion-content > * {
    padding: 2rem;
}

/* Tabellen */
.accordion-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.accordion-content th {
    background: #f8f9fa;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.accordion-content td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.accordion-content tr:hover {
    background: #f8f9fa;
}

/* Besondere Notizen */
.special-note {
    background: #fff3cd;
    color: #856404;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

/* Keine Verpaarungen */
.no-breedings {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
    
    .accordion-header {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .accordion-content > * {
        padding: 1rem;
    }
    
    .accordion-content table {
        font-size: 0.9rem;
    }
    
    .accordion-content th,
    .accordion-content td {
        padding: 0.5rem;
    }
    
    /* Mobile Tabellen-Layout */
    .accordion-content table,
    .accordion-content thead,
    .accordion-content tbody,
    .accordion-content th,
    .accordion-content td,
    .accordion-content tr {
        display: block;
    }
    
    .accordion-content thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .accordion-content tr {
        border: 1px solid #ccc;
        margin-bottom: 1rem;
        padding: 0.5rem;
        border-radius: 4px;
    }
    
    .accordion-content td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: left;
    }
    
    .accordion-content td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 0.5rem;
        width: 45%;
        font-weight: bold;
        color: #495057;
    }
}

/* Animationen */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-content.active {
    animation: slideDown 0.3s ease;
}

/* Scrollbar Styling */
.accordion-content::-webkit-scrollbar {
    width: 6px;
}

.accordion-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.accordion-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.accordion-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
} 