.breeding-timeline {
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Arial', sans-serif;
    background: #f5f9ff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.timeline-header {
    text-align: center;
    color: #2c3e50;
    padding-bottom: 20px;
    border-bottom: 2px solid #3498db;
    margin-bottom: 30px;
}

.timeline-event {
    position: relative;
    padding: 20px;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.timeline-event:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-date {
    color: #3498db;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.event-phase {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9em;
}

.task-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.task-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.task-list li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.event-stage {
    color: #34495e;
    font-style: italic;
    margin-top: 10px;
}

/* Different colors for different phases */
.timeline-event.preparation {
    border-left-color: #e74c3c;
}

.timeline-event.breeding-day {
    border-left-color: #2ecc71;
}

.timeline-event.development {
    border-left-color: #f1c40f;
}

/* Responsive design */
@media (max-width: 600px) {
    .breeding-timeline {
        margin: 10px;
        padding: 15px;
    }

    .timeline-event {
        margin: 15px 0;
        padding: 15px;
    }
}

/* Progress indicator */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #eee;
    margin: 10px 0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #3498db;
    transition: width 0.3s ease;
}

/* Optional dark mode */
@media (prefers-color-scheme: dark) {
    .breeding-timeline {
        background: #1a1a1a;
        color: #fff;
    }

    .timeline-event {
        background: #2d2d2d;
    }

    .timeline-header {
        color: #fff;
    }

    .event-phase {
        color: #fff;
    }

    .event-stage {
        color: #ddd;
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* Adjusted from 15% to 10% for less top margin */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modal-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
} 