html, body{
    height: 100%;
    margin: 0%;
    padding: 0%;
}
body{
    background-image: url(fitness-park-9.webp);
    background-size: cover;
    margin: 0%;
    padding: 0%;
    min-height: 100vh;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
     
    z-index: 1;
}
h1{
    color: orange;
    text-align: center;
    font-family: serif;
    font-size: 25px;
    text-decoration:underline 2px solid;
    background-color: black;
    margin: 0;
    
}
/* Migas de pan */
.breadcrumbs {
    background: #ffffff;
    padding: 12px 20px;
    border-bottom: 1px solid #ddd;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.breadcrumbs li::after {
    content: "›";
    margin-left: 8px;
}

.breadcrumbs li:last-child::after {
    content: "";
}

.breadcrumbs a {
    text-decoration: none;
    color: #007bff;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}
main{
    margin-top:100px;
}
/* --- Estilos del Reto --- */
.hero-reto {
    text-align: center;
    padding: 2rem 0;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.progress-container {
    margin-top: 1rem;
    max-width: 400px;
    margin-inline: auto;
}

progress {
    width: 100%;
    height: 20px;
    accent-color: #2ecc71; /* Color verde de éxito */
}

/* --- Rejilla de Calendario --- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    padding-bottom: 50px;
}

.day-box {
    background: white;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 15px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.day-box:hover {
    border-color: #2563eb;
    transform: translateY(-3px);
}

.day-number {
    font-weight: bold;
    font-size: 1.5rem;
    color: #bbb;
    margin-bottom: 10px;
}

.day-box p {
    font-size: 0.8rem;
    margin: 0;
    color: #555;
}

/* Estados especiales */
.day-box.current {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.day-box.current .day-number {
    color: #2563eb;
}

.day-box.rest {
    background-color: #fff4e6;
    border-style: dashed;
}

.day-box.final {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: white;
    border: none;
}

.day-box.final .day-number, .day-box.final p {
    color: white;
}