/* =========================================
   ESTILOS DEL DASHBOARD (CUERPO)
   ========================================= */

.dashboard-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- BANNER --- */
.welcome-banner {
    position: relative;
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-left: 5px solid #00bcd4;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    overflow: hidden;
}

.welcome-text h1 { margin: 0; font-size: 2rem; color: #fff; font-weight: 700; }
.welcome-text h1 span { color: #00bcd4; }
.welcome-text p { margin-top: 5px; color: #aaa; font-size: 1rem; }

.welcome-decoration {
    position: absolute; top: -50%; right: -5%; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0,188,212,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%; pointer-events: none;
}

/* --- GRID --- */
.widgets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Mitad y mitad */
    gap: 30px;
}
@media (max-width: 900px) { .widgets-grid { grid-template-columns: 1fr; } }

.card-widget {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    position: relative;
}

/* --- FRASE --- */
.quote-widget {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; min-height: 320px;
    background: radial-gradient(circle at top right, rgba(0, 188, 212, 0.05), #1e1e1e);
}
.quote-icon { font-size: 4rem; color: #00bcd4; opacity: 0.2; line-height: 1; }
.quote-text { font-size: 1.2rem; font-style: italic; color: #e0e0e0; margin: 20px 0; }
.quote-author { color: #00bcd4; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.btn-new-quote {
    position: absolute; top: 15px; right: 15px; background: none; border: none;
    color: #555; cursor: pointer; transition: 0.3s;
}
.btn-new-quote:hover { color: #fff; transform: rotate(180deg); }

/* --- CALENDARIO (IMPORTANTE) --- */
.calendar-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 10px;
}
.current-date { font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0; text-transform: capitalize; }

.calendar-nav span {
    height: 30px; width: 30px; background: #2c2c2c; color: #aaa;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; margin-left: 10px; user-select: none;
}
.calendar-nav span:hover { background: #00bcd4; color: #000; }

/* AQUÍ ESTÁ EL TRUCO PARA QUE NO SEA UNA LISTA */
.calendar-body ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none; /* Quita los puntos */
    padding: 0;
    margin: 0;
    text-align: center;
}

.calendar-body .weeks li {
    font-weight: 600; color: #00bcd4; width: calc(100% / 7);
    font-size: 0.9rem; margin-bottom: 10px;
}

.calendar-body .days li {
    width: calc(100% / 7); position: relative; cursor: pointer;
    color: #ccc; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; margin-top: 5px;
}

.days li.inactive { color: #444; pointer-events: none; }
.days li.active { color: #000; background: #00bcd4; font-weight: bold; box-shadow: 0 0 10px rgba(0,188,212,0.5); }
.days li:not(.active):not(.inactive):hover { background: #333; color: #fff; }