/* Make the caller info icon look more like a clickable button */

/* Style the info icon to look like a button */
#callerIdentityOverlay .fa-info-circle {
    background-color: rgba(59, 130, 246, 0.2) !important;
    padding: 0.375rem !important;
    border-radius: 0.375rem !important;
    border: 1px solid rgba(96, 165, 250, 0.4) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.75rem !important;
    height: 1.75rem !important;
    font-size: 0.875rem !important;
}

/* Hover state for the info icon button */
#callerIdentityOverlay:hover .fa-info-circle {
    background-color: rgba(59, 130, 246, 0.3) !important;
    border-color: rgba(96, 165, 250, 0.6) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

/* Active/pressed state */
#callerIdentityOverlay:active .fa-info-circle {
    transform: scale(0.95) !important;
    background-color: rgba(59, 130, 246, 0.4) !important;
}

/* Add subtle pulse animation to draw attention */
@keyframes pulse-info {
    0% {
        box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(96, 165, 250, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
    }
}

/* Apply pulse on initial load (first 3 seconds) */
#callerIdentityOverlay .fa-info-circle {
    animation: pulse-info 2s ease-out;
    animation-delay: 1s;
}

/* Make the entire overlay more button-like */
#callerIdentityOverlay {
    transition: all 0.2s ease !important;
    user-select: none !important;
}

/* Enhance cursor feedback */
#callerIdentityOverlay:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Active state for the whole overlay */
#callerIdentityOverlay:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}