:root {
    --primary-accent: #006a4e;
    /* Dhaka Green */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-card: #ffffff;
    --bg-top: #f1f3f5;
}

.widget-container {
    min-width: 264px;
    max-width: 347px;
    width: 100%;
    background: var(--bg-card);
    border-radius: 5px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* Top Section: Time (Left) & Month/Year (Right) */
.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background-color: var(--bg-top);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.current-time {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-accent);
    font-variant-numeric: tabular-nums;
}

.ampm {
    font-size: 0.75rem;
    margin-left: 2px;
    font-weight: 600;
    opacity: 0.8;
}

.month-year-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2. MIDDLE SECTION: Visit & Online Numbers */
.stats-section {
    display: flex;
    justify-content: space-around;
    padding: 12px 10px 8px 10px;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Pulse Dot for "Online" */
.online-dot {
    height: 6px;
    width: 6px;
    background-color: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    box-shadow: 0 0 0 rgba(46, 204, 113, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(46, 204, 113, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(46, 204, 113, 0);
    }
}

/* Bottom Section: Calendar Grid */
.calendar-section {
    padding: 15px 20px 20px 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.day-header {
    font-size: 0.65rem;
    font-weight: 700;
    color: #adb5bd;
    padding-bottom: 12px;
    text-transform: uppercase;
}

.cell {
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 5px;
    transition: all 0.2s ease;
}

/* Highlight Current Date */
.highlight-today {
    background-color: var(--primary-accent);
    color: white !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgb(26 37 34 / 25%);
}

.empty {
    visibility: hidden;
}

/* Friday Highlight (Weekend) */
.friday {
    color: #e63946;
}