/* ========================================
   Desktop Widgets (Right Side)
   Windows 11 style widgets panel
   ======================================== */

#desktop-widgets {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 10;
}

/* Logo Widget */
.widget {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.widget:hover {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.7);
}

/* ===== Logo Widget ===== */
.widget-logo {
    padding: 20px 24px;
    text-align: center;
}

.widget-logo .logo-text {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
}

.widget-logo .logo-mind {
    color: var(--gray-900);
}

.widget-logo .logo-hub {
    color: var(--orange-500);
}

.widget-logo .logo-tagline {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* ===== Calendar Widget ===== */
.widget-calendar {
    padding: 16px;
}

.widget-calendar .cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.widget-calendar .cal-month {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.widget-calendar .cal-nav {
    display: flex;
    gap: 4px;
}

.widget-calendar .cal-nav button {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-calendar .cal-nav button:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--orange-600);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.cal-grid .cal-dayname {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 0;
}

.cal-grid .cal-day {
    font-size: 12px;
    padding: 6px 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.cal-grid .cal-day:hover {
    background: rgba(255, 107, 53, 0.08);
}

.cal-grid .cal-day.today {
    background: var(--orange-500);
    color: white;
    font-weight: 700;
    border-radius: 50%;
}

.cal-grid .cal-day.other-month {
    color: var(--gray-300);
}

/* ===== Planner Widget ===== */
.widget-planner {
    padding: 16px;
}

.widget-planner .planner-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.planner-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    margin-bottom: 6px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.4);
}

.planner-item:hover {
    background: rgba(255, 107, 53, 0.08);
    transform: translateX(3px);
}

.planner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.planner-dot.orange {
    background: var(--orange-500);
}

.planner-dot.blue {
    background: #3B82F6;
}

.planner-dot.green {
    background: #22C55E;
}

.planner-text {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

.planner-meta {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    #desktop-widgets {
        display: none;
    }
}