/* ==========================================
   STICKY ADMIN LOGIN TAB
   ========================================== */

.admin-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    touch-action: none;
    /* Prevents scrolling while dragging */
}

.admin-tab:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.admin-tab:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
}

.admin-tab-icon {
    font-size: 1.75rem;
    animation: floatingIcon 3s ease-in-out infinite;
}

/* Logged in state */
.admin-tab.logged-in {
    background: linear-gradient(135deg, #10b981, #059669);
}

@keyframes floatingIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .admin-tab {
        width: 55px;
        height: 55px;
    }

    .admin-tab-icon {
        font-size: 1.5rem;
    }
}