/* ===========================================
   GROUPS CTA BUTTON — Session Panel
   Placed above the search row to open Groups view
   =========================================== */

.groups-cta-row {
    padding: 10px 16px 0;
    background: var(--bg-color);
}

.groups-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(59, 246, 146, 0.2);
    border-radius: var(--radius-md, 8px);
    background: linear-gradient(135deg, var(--accent, #3bf692) 0%, #60a5fa 60%, #2563eb 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.groups-cta-btn i {
    font-size: 1.05rem;
}

.groups-cta-btn:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(59, 246, 146, 0.35);
}

.groups-cta-btn:active {
    transform: scale(0.98);
}

/* When groups view is active, hide the CTA */
.groups-cta-row.hidden {
    display: none;
}

/* Desktop — slightly tighter padding */
@media (min-width: 769px) {
    .groups-cta-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* ===========================================
   LIGHT THEME OVERRIDES
   =========================================== */
html.light-theme .groups-cta-btn {
    background: linear-gradient(135deg, var(--accent, #1aab8a), #2563eb);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25), 0 0 12px rgba(26, 171, 138, 0.1);
    border-color: rgba(26, 171, 138, 0.2);
}
