body {
    font-family: Arial, sans-serif;
    background-color: #1e1e2e;
    color: white;
    text-align: center;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: auto;
}

h1 {
    margin-bottom: 10px;
}

/* Contador regresivo */
#countdown {
    font-size: 24px;
    font-weight: bold;
    color: #ffb86c;
    margin-bottom: 20px;
}

/* Fases y progreso */
.phase {
    background: #282a36;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.phase:hover {
    background: #3a3c4e;
}

.phase h2 {
    margin: 0;
}

.progress-bar {
    height: 15px;
    border-radius: 5px;
    background: #444;
    margin: 5px 0;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    width: 0%;
    text-align: right;
    padding-right: 5px;
    font-size: 12px;
    line-height: 15px;
    font-weight: bold;
    transition: width 1.5s ease-in-out;
}

/* Subfases */
.subphases {
    display: none;
    padding: 10px;
    text-align: left;
}

.subphase {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    border-bottom: 1px solid #555;
}

/* Animación en los ✅ */
.done {
    color: lightgreen;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.4s ease, transform 0.3s ease;
}

.in-progress { color: orange; }
.pending { color: red; }

/* Fechas */
.date-container {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 14px;
}

.estimated {
    color: #ffb86c;
}

.completed {
    color: lightgreen;
}

/* Barra de accesos rápidos */
.sidebar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(40, 42, 54, 0.9);
    padding: 1px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.sidebar.sticky-footer {
    position: relative;
    bottom: auto;
    margin-top: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    display: inline;
    margin: 0 10px;
}

.sidebar a {
    color: #8be9fd;
    text-decoration: none;
    font-weight: bold;
}
