/* Admin User Directory - Gen Z Bubbly Design */

.user-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.user-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(103, 58, 183, 0.1);
    border-color: #673AB7;
}

.urgent-chat-btn {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #673AB7, #9C27B0);
    color: white;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    animation: pulse 2s infinite;
}

.urgent-chat-btn:hover {
    background: linear-gradient(135deg, #9C27B0, #673AB7);
    transform: scale(1.05);
}

.urgent-chat-btn:active {
    transform: scale(0.95);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(103, 58, 183, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(103, 58, 183, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(103, 58, 183, 0);
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #673AB7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
