/* Customer Success Manager (CSM) Styles */
.csm-widget {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 28px;
    padding: 25px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.csm-widget:hover {
    border-color: #14b8a6;
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.1);
}

.csm-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.csm-avatar-wrapper {
    position: relative;
}

.csm-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #14b8a6;
    padding: 3px;
    background: #000;
}

.csm-online-status {
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 14px;
    height: 14px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid #000;
    animation: statusBlink 2s infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.csm-info {
    flex: 1;
}

.csm-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.csm-title {
    font-size: 0.75rem;
    color: #14b8a6;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.csm-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 20px 20px 20px 5px;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    position: relative;
    animation: slideUpFade 0.6s ease both;
}

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

.csm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-csm-action {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    color: #14b8a6;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-csm-action:hover {
    background: #14b8a6;
    color: #000;
    transform: translateX(5px);
}

.csm-notification-glow {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background: #14b8a6;
    border-radius: 50%;
    box-shadow: 0 0 10px #14b8a6;
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}
