/* ========================================
   LE POULAILLER GÃƒâ€°NÃƒâ€°TIQUE - STYLES ADDITIONNELS
   Fiches, comparaison, simulateur, gÃƒÂ©nÃƒÂ©tique
   ======================================== */

/* ========================================
   MODAL FICHE DÃƒâ€°TAILLÃƒâ€°E
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--cream-light);
    border-radius: 25px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--orange-warm);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--brown-dark);
    transform: rotate(90deg);
}

.breed-detail-header {
    text-align: center;
    border-bottom: 3px solid rgba(193,120,23,0.4);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.breed-detail-photo {
    font-size: 6rem;
    margin-bottom: 1rem;
}

.breed-detail-img {
    max-width: 250px;
    max-height: 250px;
    width: auto;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    object-fit: cover;
}

.breed-detail-emoji {
    font-size: 6rem;
    display: block;
}

.breed-detail-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--brown-medium);
}

.breed-detail-origin {
    color: var(--orange-warm);
    font-size: 1.1rem;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--soft-green);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--soft-green);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    background: var(--cream);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid rgba(193,120,23,0.4);
}

.detail-item .label {
    font-size: 0.85rem;
    color: var(--orange-warm);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.detail-item .value {
    font-size: 1rem;
    color: var(--brown-dark);
}

.stars {
    color: rgba(193,120,23,0.4);
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.detail-history {
    background: linear-gradient(135deg, #fff9e6, #fff);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(193,120,23,0.4);
    line-height: 1.8;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.detail-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-family: 'Lora', Georgia, serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-btn.print {
    background: var(--soft-green);
    color: white;
}

.detail-btn.compare {
    background: rgba(193,120,23,0.4);
    color: var(--brown-dark);
}

.detail-btn.incubate {
    background: rgba(101, 155, 100, 0.25);
    color: var(--brown-dark);
    border: 1.5px solid rgba(101, 155, 100, 0.5);
}

.detail-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ========================================
   TABLEAU COMPARATIF
   ======================================== */
.compare-count {
    background: var(--orange-warm);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.compare-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.compare-tag {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compare-tag button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
}

.compare-btn-main {
    background: rgba(193,120,23,0.4);
    color: var(--brown-dark);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.compare-btn-main:hover {
    transform: scale(1.05);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.8rem;
    text-align: center;
    border: 1px solid #ddd;
}

.comparison-table th {
    background: var(--brown-medium);
    color: white;
}

.comparison-table .breed-header {
    background: rgba(193,120,23,0.4);
    color: var(--brown-dark);
}

.comparison-table .breed-photo {
    font-size: 2.5rem;
}

.comparison-table .section-row td {
    background: var(--cream);
    font-weight: bold;
    text-align: left;
    color: var(--soft-green);
}

.comparison-table tr:hover td:not(.section-row td) {
    background: #fff9e6;
}

.production-excellent { color: #2E7D32; font-weight: bold; }
.production-good { color: #558B2F; }
.production-medium { color: #F9A825; }
.production-low { color: #E65100; }

.egg-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.egg-white { background: #f5f5f5; }
.egg-cream { background: #FFF8DC; }
.egg-brown { background: #D2B48C; }
.egg-chocolate { background: #8B4513; color: white; }
.egg-blue { background: #87CEEB; }
.egg-terracotta { background: #E2725B; color: white; }

.difficulty {
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.85rem;
}

.difficulty.easy { background: #C8E6C9; color: #2E7D32; }
.difficulty.medium { background: #FFF9C4; color: #F57F17; }
.difficulty.hard { background: #FFCCBC; color: #BF360C; }
.difficulty.expert { background: #FFCDD2; color: #C62828; }

.comparison-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.print-btn, .clear-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-btn {
    background: var(--soft-green);
    color: white;
}

.clear-btn {
    background: var(--orange-warm);
    color: white;
}

.no-comparison {
    text-align: center;
    color: var(--orange-warm);
    padding: 2rem;
    font-style: italic;
}

/* ========================================
   GÃƒâ€°NÃƒâ€°TIQUE F2 & PROBABILITÃƒâ€°S
   ======================================== */
.genetics-section {
    background: var(--experiment-light);
    border: 3px solid var(--experiment-purple);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.genetics-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--experiment-purple);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.generation-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.generation-tab {
    padding: 0.6rem 1.5rem;
    background: white;
    border: 2px solid var(--experiment-purple);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generation-tab.active {
    background: var(--experiment-purple);
    color: white;
}

.probability-container {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
}

.probability-title {
    color: var(--experiment-purple);
    text-align: center;
    margin-bottom: 1rem;
}

.generation-badge {
    display: inline-block;
    background: var(--experiment-purple);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.probability-warnings {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.warning-item {
    margin: 0.5rem 0;
}

.probability-section {
    margin-bottom: 1.5rem;
}

.probability-section h4 {
    color: var(--brown-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(193,120,23,0.4);
}

.probability-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.probability-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 1rem;
}

.probability-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.probability-emoji {
    font-size: 1.5rem;
}

.probability-name {
    font-weight: bold;
    color: var(--brown-dark);
}

.probability-genotype {
    color: #666;
    font-size: 0.9rem;
}

.probability-bar-container {
    background: #e0e0e0;
    border-radius: 10px;
    height: 30px;
    overflow: hidden;
}

.probability-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.probability-bar.high { background: var(--soft-green); }
.probability-bar.medium { background: rgba(193,120,23,0.4); }
.probability-bar.low { background: var(--orange-warm); }

.probability-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.probability-warning,
.probability-note,
.probability-recommendation {
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.probability-warning {
    background: #FFEBEE;
    border-left: 4px solid var(--danger-red);
}

.probability-note {
    background: #E3F2FD;
    border-left: 4px solid #2196F3;
}

.probability-recommendation {
    background: #E8F5E9;
    border-left: 4px solid var(--soft-green);
}

/* ========================================
   SIMULATEUR DE TROUPEAU
   ======================================== */
.flock-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.flock-control-group {
    background: var(--cream);
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid rgba(193,120,23,0.4);
}

.flock-control-group label {
    display: block;
    font-weight: bold;
    color: var(--brown-medium);
    margin-bottom: 0.5rem;
}

.flock-control-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(193,120,23,0.4);
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.add-bird-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--soft-green);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-bird-btn:hover {
    background: #1B5E20;
}

.flock-settings {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.setting-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 2px solid rgba(193,120,23,0.4);
}

.setting-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.setting-toggle select {
    padding: 0.3rem;
    border-radius: 5px;
}

.flock-display {
    background: var(--cream-light);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid var(--soft-green);
}

.flock-summary {
    text-align: center;
    margin-bottom: 1.5rem;
}

.flock-count {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.count-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-emoji {
    font-size: 3rem;
}

.count-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--soft-green);
}

.count-label {
    color: var(--brown-medium);
}

.flock-members h4 {
    color: var(--brown-medium);
    margin: 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(193,120,23,0.4);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream);
    padding: 0.8rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.member-card:hover {
    border-color: rgba(193,120,23,0.4);
}

.member-card.rooster {
    background: linear-gradient(135deg, #fff9e6, #ffe4b5);
}

.member-emoji {
    font-size: 1.5rem;
}

.member-breed {
    flex: 1;
    font-weight: 600;
    color: var(--brown-dark);
}

.member-egg {
    font-size: 0.85rem;
    color: var(--orange-warm);
}

.remove-btn {
    background: var(--danger-red);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #b71c1c;
    transform: scale(1.1);
}

.flock-section {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.flock-section h4 {
    color: var(--soft-green);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.flock-section h5 {
    color: var(--brown-medium);
    margin: 1rem 0 0.5rem;
}

.production-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.production-stats .stat {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 2px solid rgba(193,120,23,0.4);
}

.production-stats .stat.highlight {
    background: rgba(193,120,23,0.4);
    border-color: var(--brown-medium);
}

.production-stats .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--soft-green);
}

.production-stats .stat.highlight .stat-value {
    color: var(--brown-dark);
}

.production-stats .stat-label {
    font-size: 0.85rem;
    color: #666;
}

.egg-diversity {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px dashed rgba(193,120,23,0.4);
}

.diversity-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.diversity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    border: 2px solid rgba(193,120,23,0.4);
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.need-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
}

.need-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.need-label {
    font-size: 0.85rem;
    color: #666;
}

.need-value {
    font-weight: bold;
    color: var(--soft-green);
}

.needs-warnings {
    margin-top: 1rem;
}

.needs-warnings .warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 0.8rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 0.5rem;
}

.crosses-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cross-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid var(--soft-green);
    flex-wrap: wrap;
}

.cross-item.danger {
    border-left-color: var(--danger-red);
    background: #fff5f5;
}

.cross-item.experimental {
    border-left-color: var(--experiment-purple);
    background: #faf5ff;
}

.cross-parents {
    font-weight: 600;
    color: var(--brown-dark);
}

.cross-result {
    color: var(--soft-green);
}

.cross-egg {
    font-size: 0.9rem;
    color: var(--orange-warm);
}

.climate-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.climate-score .score-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--soft-green);
}

.climate-warning {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 10px;
}

.climate-warning ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.flock-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.flock-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flock-btn.report {
    background: var(--soft-green);
    color: white;
}

.flock-btn.clear {
    background: var(--danger-red);
    color: white;
}

.flock-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ========================================
   CARTE DE RACE AVEC BOUTON COMPARER
   ======================================== */
.breed-card {
    position: relative;
}

.breed-card-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.breed-card:hover .breed-card-actions {
    opacity: 1;
}

.card-action-btn {
    padding: 0.4rem 0.8rem;
    border: 2px solid var(--brown-medium);
    background: transparent;
    color: var(--brown-medium);
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-action-btn:hover {
    background: var(--brown-medium);
    color: white;
}

.card-action-btn.compare.active {
    background: var(--soft-green);
    border-color: var(--soft-green);
    color: white;
}

/* ========================================
   EMPTY STATES
   ======================================== */
.empty-flock {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.empty-flock-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-flock-text {
    font-size: 1.2rem;
}

/* ========================================
   STYLES D'IMPRESSION
   ======================================== */
@media print {
    body {
        background: white !important;
    }
    
    .tabs, .compare-panel, .flock-controls, 
    .flock-settings, .flock-actions,
    .card-action-btn, .modal-close,
    .print-btn, .clear-btn {
        display: none !important;
    }
    
    .section {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .comparison-table {
        font-size: 9pt;
    }
    
    .breed-card, .warning-card, .experiment-card {
        break-inside: avoid;
    }
}

/* ========================================
   RESPONSIVE POUR NOUVELLES SECTIONS
   ======================================== */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        padding: 1rem;
        max-height: 95vh;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.4rem;
    }
    
    .compare-panel {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }
    
    .flock-controls {
        grid-template-columns: 1fr;
    }
    
    .production-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .needs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .probability-bar {
        font-size: 0.8rem;
    }
}

/* ========================================
   ANIMATIONS SUPPLÃƒâ€°MENTAIRES
   ======================================== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flock-section {
    animation: slideUp 0.4s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.production-stats .stat.highlight {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes barGrow {
    from { width: 0; }
}

.probability-bar {
    animation: barGrow 0.8s ease-out;
}

/* ========================================
   PHOTOS DES PARENTS DANS LE CALCULATEUR
   ======================================== */
.parent-photo {
    width: 150px;
    height: 150px;
    margin: 1rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(193,120,23,0.4);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.parent-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.parent-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    font-size: 4rem;
    color: rgba(193,120,23,0.4);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: bold;
}

.photo-placeholder.no-photo {
    background: linear-gradient(135deg, var(--brown-medium) 0%, var(--orange-warm) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.cross-symbol-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cross-heart {
    font-size: 1.5rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* ========================================
   PLACEHOLDER POUR PHOTOS MANQUANTES
   ======================================== */
.breed-photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brown-medium) 0%, var(--orange-warm) 100%);
    color: white;
    font-size: 3rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: bold;
    border-radius: 10px;
}

.breed-detail-placeholder {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brown-medium) 0%, var(--orange-warm) 100%);
    color: white;
    font-size: 5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto;
}

/* ========================================
   RÉSULTAT AVEC PHOTOS DES PARENTS
   ======================================== */
.result-parents-photos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.result-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.result-parent-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(193,120,23,0.4);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.result-parent-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brown-medium) 0%, var(--orange-warm) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: bold;
    border: 3px solid rgba(193,120,23,0.4);
}

.result-parent-name {
    font-size: 0.85rem;
    color: var(--brown-dark);
    font-weight: 600;
    max-width: 100px;
    text-align: center;
}

.result-cross-arrow {
    font-size: 1.5rem;
    color: var(--orange-warm);
}

.result-equals {
    font-size: 2rem;
    color: var(--soft-green);
    font-weight: bold;
}

/* ========================================
   PHOTO HYBRIDE
   ======================================== */
.result-hybrid-photo {
    margin: 1.5rem auto;
    width: 200px;
    height: 200px;
}

.hybrid-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--soft-green);
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.3);
    animation: hatch 0.8s ease-out;
}

.hybrid-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff9e6 0%, #f5e6d3 100%);
    border: 5px dashed rgba(193,120,23,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hybrid-placeholder-icon {
    font-size: 4rem;
    animation: chickenBob 2s ease-in-out infinite;
}

.hybrid-placeholder-text {
    font-size: 0.9rem;
    color: var(--orange-warm);
    font-style: italic;
}

/* ========================================
   RESPONSIVE POUR LES NOUVELLES PHOTOS
   ======================================== */
@media (max-width: 768px) {
    .parent-photo {
        width: 120px;
        height: 120px;
    }
    
    .result-parent-img,
    .result-parent-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .result-hybrid-photo {
        width: 150px;
        height: 150px;
    }
    
    .result-parents-photos {
        gap: 0.5rem;
    }
}
