/* ═══════════════════════════════════════════════════════════════
   MODULE CSS: Calendar — SmartInboxIA
   Phase 1 — Placeholder Coming Soon
   ═══════════════════════════════════════════════════════════════ */

.calendar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    height: 100%;
    padding: 20px 40px;
}

/* ─── Mini Calendrier ─── */
.cal-mini {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    min-width: 280px;
    backdrop-filter: blur(10px);
}

.cal-month-title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    text-transform: capitalize;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: all 0.2s ease;
    margin: auto;
}

.cal-day-empty {
    visibility: hidden;
}

.cal-day-today {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(108, 92, 231, 0.5);
    animation: calTodayGlow 2s ease-in-out infinite alternate;
}

@keyframes calTodayGlow {
    from { box-shadow: 0 0 12px rgba(108, 92, 231, 0.4); }
    to   { box-shadow: 0 0 22px rgba(108, 92, 231, 0.7); }
}

/* ─── Coming Soon Section ─── */
.calendar-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.calendar-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-icon {
    font-size: 48px;
    z-index: 1;
    animation: calIconFloat 3s ease-in-out infinite;
}

@keyframes calIconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.calendar-icon-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.3) 0%, transparent 70%);
    animation: calPulse 2s ease-in-out infinite;
}

@keyframes calPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50%      { transform: scale(1.3); opacity: 0; }
}

.calendar-title {
    font-size: 22px;
    font-weight: 700;
    color: #e0e0e0;
    margin: 0;
    letter-spacing: 1px;
}

.calendar-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    font-style: italic;
}

/* ─── Features Preview ─── */
.calendar-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.calendar-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.3s ease;
}

.calendar-feature:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: rgba(108, 92, 231, 0.3);
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(4px);
}

.calendar-feature-icon {
    font-size: 16px;
}

/* ─── Loader Bar ─── */
.calendar-loader {
    width: 180px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}

.calendar-loader-bar {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe, #6c5ce7);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: calLoaderSlide 2s ease-in-out infinite;
}

@keyframes calLoaderSlide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.calendar-loader-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* ─── Responsive 1024x600 ─── */
@media (max-height: 600px) {
    .calendar-container { gap: 30px; padding: 10px 30px; }
    .cal-mini { padding: 14px; min-width: 240px; }
    .cal-day { height: 26px; width: 26px; font-size: 11px; }
    .calendar-icon { font-size: 40px; }
    .calendar-title { font-size: 18px; }
}
